JDK 9 support
See original GitHub issueThe project currently fails on JDK 9:
Caused by: java.lang.ClassCastException: [B cannot be cast to [C
To reproduce:
import org.boon.core.reflection.Reflection;
@Test
public void testJdk9Support() throws Exception {
Reflection.respondsTo(null, "dummy");
}
The above fails in Reflection.java’s nested static initializers. I’ve traced the problem to org.boon.core.reflection.FastStringUtils#toCharArray(java.lang.String) which seem to rely on sun.misc.unsafe. To checkout a full fledged example, see BoonConcurrentTest but I don’t think it’s needed to illustrate the problem.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:8 (1 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 >Oracle JDK 9 and JRE 9 Certified System Configurations
This is the complete list of JDK 9 supported configurations. There are no plans to add additional configurations. On 64-bit operating systems (OSs)...
Read more >Java 9 - Oracle
Accelerate Java application development with the Java platform module system and 150 new features. Download Java SE 9 today. JavaYourNext (Cloud). Java is ......
Read more >Java SE 9 Archive Downloads - Oracle
Java SE 9 Archive Downloads ... Go to the Oracle Java Archive page. The JDK is a development environment for building applications using...
Read more >Consolidated JDK 9 Release Notes - Oracle
This page contains all of the release notes for the JDK 9 General ... The JDK SunJSSE implementation now supports the TLS FFDHE...
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
Guess this project is dead.
We have a legacy system that was having this problem.
Using the system property:
-Dorg.boon.faststringutils.disable=true
…seemed to fix the problem.