JVM 11+ support
See original GitHub issueDoes this library work with JVM 11, 17, etc? For example, with corretto-17.0.3 and stacktrace-decoroutinator-jvm:2.2.1 I get
Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @1c20c684
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
at dev.reformator.stacktracedecoroutinator.utils.Utils_jvmKt.getClassIfLoaded(utils-jvm.kt:11)
at dev.reformator.stacktracedecoroutinator.runtime.DecoroutinatorRuntime.getState(runtime-jvm.kt:42)
at dev.reformator.stacktracedecoroutinator.runtime.DecoroutinatorRuntime.load(runtime-jvm.kt:52)
at dev.reformator.stacktracedecoroutinator.runtime.DecoroutinatorRuntime.load$default(runtime-jvm.kt:51)
at MainKt.main(Main.kt:14)
at MainKt.main(Main.kt)
when I launch the example from README. With 1.8 it works fine.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
JDK 11 Release Notes, Important Changes, and Information
In Java SE 11, the Java Virtual Machine supports the arrangement of classes and interfaces into a new access control context, called a...
Read more >Java™ 11 Support - Eclipse
Eclipse support for Java™ 11, Java™ 11 is here, and JDT supports it completely. The Eclipse compiler for Java (ECJ) implements the new...
Read more >Java/OpenJDK - endoflife.date
Release Released Active Support
19 2 months and 4 weeks ago. (20 Sep 2022) Ends in 3 months. (21 Mar 2023)
18 9 months ago....
Read more >Apache Flink 1.10 Documentation: Release Notes
Java 11 Support (FLINK-10725). Beginning from this release, Flink can be compiled and run with Java 11. All Java 8 artifacts can be...
Read more >Compatibility Matrix - Gradle User Manual
Table 1. Java Compatibility. Java version. First Gradle version to support it. 8. 2.0. 9. 4.3. 10. 4.7. 11. 5.0. 12. 5.4. 13....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome, thanks!
I’m agree with you that just existence of the dependency shouldn’t change the app behaviour. It will be fixed in #8.