Skip to content

CI fails on JRE 16-ea #116

Description

@mkarg
-------------------------------------------------------------------------------
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)

Activity

  1. michael-o commented on Dec 23, 2020

    @michael-o
    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.

  2. added a commit that references this issue on Apr 4, 2021
    4e4c88a
  3. added a commit that references this issue on Aug 16, 2026
    6f11ee1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions