hey Jukka,
would you mind checking if the latest snapshot 20260310-r5336[1057ffd] works
without having to add the jre parameter?
https://sourceforge.net/projects/jump-pilot/files/OpenJUMP2_snapshots/
thanks.. ede
On 3/9/2026 8:44 PM, Rahkonen Jukka wrote:
Hi Ede,
Adding --add-opens=java.base/java.util=ALL-UNNAMED
did help and Display_WMS_URL tool works again.
-Jukka-
________________________________________
Lähettäjä: edgar.soldin--- via Jump-pilot-devel
<[email protected]>
Lähetetty: Maanantai 9. maaliskuuta 2026 18.19
Vastaanottaja: [email protected]
<[email protected]>
Kopio: [email protected] <[email protected]>
Aihe: Re: [JPP-Devel] Show WMS URL script stopped working
hey Jukka,
probably this issue with reflection in newer sdks.
https://docs.oracle.com/en/java/javase/11/migrate/index.html#GUID-12F945EB-71D6-46AF-8C3D-D354FD0B1781
wrt. "Unable to make public boolean java.util.ArrayList$Itr.hasNext() accessible: module
java.base does not "opens java.util" to unnamed module @52af6cff"
try adding "--add-opens=java.base/java.util=ALL-UNNAMED" to the run script e.g.
for oj_windows.bat change JAVA_OPTS
set JAVA_OPTS=--add-opens=java.base/java.util=ALL-UNNAMED
does that help? sunny regards ..ede
On 3/9/2026 1:56 PM, Rahkonen Jukka via Jump-pilot-devel wrote:
Hi,
The handy "Display_WMS_URL.bsh" script stopped working for me. Could it be due
to the Java version?
Java Version: OpenJDK 64-Bit Server VM 21.0.10 (amd64)
OS: Windows 11 (10.0)
The error is:
************************************************************
Script started from "lib\ext\BeanTools\9-Display_WMS_URL.bsh" at
2026-03-09 14:52:27
************************************************************
Sourced file: lib\ext\BeanTools\9-Display_WMS_URL.bsh unknown error: Unable to make
public boolean java.util.ArrayList$Itr.hasNext() accessible: module java.base does not
"opens java.util" to unnamed module @52af6cff
bsh.Interpreter.eval(Interpreter.java:706)
bsh.Interpreter.source(Interpreter.java:577)
bsh.Interpreter.source(Interpreter.java:590)
org.openjump.core.ui.plugin.customize.BeanToolsPlugIn.execute(BeanToolsPlugIn.java:259)
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:341)
org.openjump.core.ui.plugin.customize.BeanToolsPlugIn$2.actionPerformed(BeanToolsPlugIn.java:212)
java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314)
java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407)
java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:986)
java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1030)
java.desktop/java.awt.Component.processMouseEvent(Component.java:6621)
java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
java.desktop/java.awt.Component.processEvent(Component.java:6386)
java.desktop/java.awt.Container.processEvent(Container.java:2266)
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Executed with errors in 58 ms
-Jukka Rahkonen-
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel