question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The 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:open
  • Created 6 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
nilskpcommented, May 17, 2018

Guess this project is dead.

0reactions
benjwarnercommented, Jun 30, 2021

We have a legacy system that was having this problem.

Using the system property:

-Dorg.boon.faststringutils.disable=true

…seemed to fix the problem.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found