Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails on JRE 16-ea #116

Closed
mkarg opened this issue Dec 23, 2020 · 1 comment
Closed

CI fails on JRE 16-ea #116

mkarg opened this issue Dec 23, 2020 · 1 comment

Comments

@mkarg
Copy link
Collaborator

mkarg commented Dec 23, 2020

-------------------------------------------------------------------------------
Test set: org.codehaus.plexus.util.ReflectionUtilsTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.codehaus.plexus.util.ReflectionUtilsTest
testComplexVariableAccess(org.codehaus.plexus.util.ReflectionUtilsTest)  Time elapsed: 0.003 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final int java.lang.Class.ANNOTATION accessible: module java.base does not "opens java.lang" to unnamed module @461c1eab
	at org.codehaus.plexus.util.ReflectionUtilsTest.testComplexVariableAccess(ReflectionUtilsTest.java:49)
@michael-o
Copy link
Member

The question is whether this can work at all on Java 16. We recently had similar issues on Tomcat and disabled the test. Please search the Tomcat dev mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants