I read through several of your articles. Thanks for putting out the great content!
This is the first time I ran the code and tried the example locally.
Here is a small note that you may have documented elsewhere and I missed.
It works with Java 25 (on my local) but sometimes gives this message about --add-opens JVM option:
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalAccessError: module java.base does not open java.lang to unnamed module @299a531c; to use the thread-local-reset capability on Java 24 or later, use this JVM option: --add-opens java.base/java.lang=ALL-UNNAMED [in thread "executor-thread-0 (scheduler)"]
Is that expected?
Also, it was fun to change the prompt subject from 'software developer' to other topics and see the changes quickly!
I knew I had seen that add-opens config somewhere, but forgot it was your native ffmpeg example.
And yes, adding that <argLine> to the maven-surefire-plugin configuration seemed to address those IllegalAccessExeptions I was seeing. The responses seem faster too.
I read through several of your articles. Thanks for putting out the great content!
This is the first time I ran the code and tried the example locally.
Here is a small note that you may have documented elsewhere and I missed.
It works with Java 25 (on my local) but sometimes gives this message about --add-opens JVM option:
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalAccessError: module java.base does not open java.lang to unnamed module @299a531c; to use the thread-local-reset capability on Java 24 or later, use this JVM option: --add-opens java.base/java.lang=ALL-UNNAMED [in thread "executor-thread-0 (scheduler)"]
Is that expected?
Also, it was fun to change the prompt subject from 'software developer' to other topics and see the changes quickly!
Thanks for your time and effort trying it out! And also thanks for being a reader!
Quarkus’ Java 25 support is actively being discussed and developed https://github.com/quarkusio/quarkus/issues/50422
Since 3.28.3 all of Quarkus works with Java 25. You can add the option as an arg line as in some other Java 25 based examples around ffm on here:
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
Let me know if that works !
And happy new year!
Hi yes, no problem!
I knew I had seen that add-opens config somewhere, but forgot it was your native ffmpeg example.
And yes, adding that <argLine> to the maven-surefire-plugin configuration seemed to address those IllegalAccessExeptions I was seeing. The responses seem faster too.
Happy new year!