I'm afraid I understand very little about the Java platform. That script seems to create an abcl.properties file (from abcl.properties.in). Is it enough to run that script and put it in the Jar file? I see that abcl.properties.in is in the root directory of abcl.jar.
Thank you,
R
On 23 Mar 2026, at 11:55, Mark Evenson wrote:
On 3/23/26 10:06, Robert Goldman wrote:
The ASDF test test-run-program-unix.script on ABCL 1.9.3 failed on linux (the test platform). The docker image used is |clfoundation/abcl:1.9.3- noble-jdk-21|. Here is the error message:
|The following error was encountered: Java exception 'java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.lang.ProcessImpl.pid accessible: module java.base does not "opens java.lang" to unnamed module @6d59a85b'. |
I believe this error stems from the need for post-openjdj11 runtimes to be invoked with specific runtime switches "unsealing" JVM modules to allow ABCL to perform dynamic introspection.
In the case of "does not opens java.lang" the switch would be:
java --add-opens java.base/java.lang=ALL-UNNAMED [...]
The necessary switches are viewable in the CI scripting used to test ABCL.
The ABCL Ant build system has targets of the form "abcl.properties.autoconfigure.openjdk.N" where N denotes the integer of the JDK version which are perhaps the most user-accessible portions which can be used when building ABCL like
ant abcl.properties.autoconfigure.openjdk.21 abcl
Since I gather that you are encountering these errors in using Docker images, you would unfortunately probably need to rebuild these Docker images with these switches present in the ABCL invocation script.
--
"A screaming comes across the sky. It has happened before but there is
nothing to compare to it now."
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)
319 N. First Ave., Suite 400
Minneapolis, MN 55401
Google Voice: (612) 326-3934
Cell: (612) 384-3454
Email: rpgoldman@SIFT.net