﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
25152	WARNING: A restricted method in java.lang.System has been called	skyper	team	"==== 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?
}}}
"	task	new	normal		Plugin javafx			template_report java25	
