-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed as duplicate of#47769
Labels
area/picoclikind/bugSomething isn't workingSomething isn't workingtriage/duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Describe the bug
To reproduce, install a starter app from code.quarkus, and then
sdk install java 24-tem
sdk use java 24-tem
quarkus ext add picocli
quarkus dev
It gives:
2025-07-11 12:29:53,629 INFO [io.quarkus] (Quarkus Main Thread) code-with-quarkus stopped in 0.006s
Exception in thread "executor-thread-1" java.lang.IllegalAccessError: module java.base does not open java.lang to unnamed module @41dacfe1; to use the thread-local-reset capability on Java 24 or later, use this JVM option: --add-opens java.base/java.lang=ALL-UNNAMED
at org.jboss.threads.JDKSpecific$ThreadAccess.<clinit>(JDKSpecific.java:32)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:13)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1447)
Using the suggested mvn quarkus:dev -Djvm.args="--add-opens java.base/java.lang=ALL-UNNAMED"
option does work around the issue (for now).
Metadata
Metadata
Assignees
Labels
area/picoclikind/bugSomething isn't workingSomething isn't workingtriage/duplicateThis issue or pull request already existsThis issue or pull request already exists