Java 17 Support
See original GitHub issueIs your feature request related to a problem? Please describe.
I would like to use this library with Java 17
Currently, If I try to execute the examples with Java 17, I receive the following error:
[ERROR] org.contextmapper.standalone.example.ContextMapGeneratorExampleTest.test Time elapsed: 0.677 s <<< ERROR!
com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.ExceptionInInitializerError
at org.contextmapper.standalone.example.ContextMapGeneratorExampleTest.test(ContextMapGeneratorExampleTest.java:20)
Caused by: com.google.inject.internal.util.$ComputationException: java.lang.ExceptionInInitializerError
at org.contextmapper.standalone.example.ContextMapGeneratorExampleTest.test(ContextMapGeneratorExampleTest.java:20)
Caused by: java.lang.ExceptionInInitializerError
at org.contextmapper.standalone.example.ContextMapGeneratorExampleTest.test(ContextMapGeneratorExampleTest.java:20)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @1e7ba8d9
at org.contextmapper.standalone.example.ContextMapGeneratorExampleTest.test(ContextMapGeneratorExampleTest.java:20)
Describe the solution you’d like A clear and concise description of what you want to happen.
The library need to be compatible with Java 17 and Upgrade the pipelines for that JVM version.
Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.
Additional context Add any other context or screenshots about the feature request here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Oracle Java SE Support Roadmap
Oracle provides this Oracle Java SE Support Roadmap, to help you understand maintenance and support options and related timelines.
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 >Java version history - Wikipedia
Java 7 is no longer publicly supported. For Java 11, long-term support will not be provided by Oracle for the public; instead, the...
Read more >Java 17, the Next Long-Term Support Release, is Now Available
Oracle has released version 17 of the Java programming language and virtual machine. As the first long-term support release since JDK 11 in ......
Read more >OpenJDK Life Cycle and Support Policy - Red Hat Customer ...
OpenJDK is the Java Development Kit (JDK) and Java Runtime Environment ... three months apart, for the OpenJDK 8, 11, and 17 distributions....
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
@jabrena, @smsnheck, the release v6.7.0 of Context Mapper with Java 17 support is now available: https://contextmapper.org/news/2022/12/02/v6.7.0-released/ I will therefore close this issue. If you have any questions, feel free to contact me.
Hi @stefan-ka correct me if I am wrong but 7 days ago the java 17 build ran successfully. When will the 6.7.0 version be released (and integrated in the CLI)?
I am very interested in a java 17 version with the new xtext version. If I can help you out please give me a hint.
Best