Modify ↓

Opened 71 minutes ago

Last modified 23 minutes ago

#25152 new task

WARNING: A restricted method in java.lang.System has been called

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Plugin javafx Version:
Keywords: template_report java25 Cc:

Description

What steps will reproduce the problem?

Loading the plugin with openjdk-25

What is the expected result?

No warnings

What happens instead?

On the console I get following warning:

2026-12-03 11:29:09.707 INFO: loading plugin 'javafx' (version 36488)
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.glass.utils.NativeLibLoader in module javafx.graphics (file:/usr/share/openjfx/lib/javafx.graphics.jar)
WARNING: Use --enable-native-access=javafx.graphics to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2026-12-02 22:48:39 +0100 (Wed, 02 Dec 2026)
Revision:19726
Build-Date:2026-12-03 02:30:43
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19726 en) Linux Debian GNU/Linux 13 (trixie)
Memory Usage: 744 MB / 11912 MB (363 MB allocated, but free)
Java version: 25.0.5.1+2-1-deb13u1-Debian, Debian, OpenJDK 64-Bit Server VM

Java package: openjdk-25-jre:amd64-25.0.5.1+2-1~deb13u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.44.0-1~bpo13+1
libcommons-logging-java: libcommons-logging-java:all-1.3.0-2
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]

Plugins:
+ javafx (36488)

Last errors/warnings:
- 00023.772 W: Update plugins - You updated your JOSM software. To prevent problems the plugins should be updated as well.  Update plugins now?

Attachments (0)

Change History (1)

comment:1 by skyper, 23 minutes ago

Might be related with #24448 and hardening the system.
I could not find a ticket for Java 25 migration.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.