-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
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!
stela, nilskp, nmarshall23 and bedlaj
Metadata
Metadata
Assignees
Labels
No labels