Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205614

NestMates tests failing in CI jdk11-jdk.931

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The following two NestMates tests are failing in CI jdk11-jdk.931:

        runtime/Nestmates/privateConstructors/TestConstructorHierarchy.java
        runtime/Nestmates/membership/TestNestmateMembership.java

        So far the failures have occurred on MacOSX and Linux-X64.

        privateConstructors/TestConstructorHierarchy.java on MacOSX:

        ----------System.err:(12/936)----------
        java.lang.Error: Unexpected IllegalAccessError: java.lang.IllegalAccessError: class TestConstructorHierarchy tried to access method ExternalSuper.<init>()V (TestConstructorHierarchy and ExternalSuper are in unnamed module of loader java.net.URLClassLoader @4f51b3e0)
        at TestConstructorHierarchy.main(TestConstructorHierarchy.java:57)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.Error
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected IllegalAccessError: java.lang.IllegalAccessError: class TestConstructorHierarchy tried to access method ExternalSuper.<init>()V (TestConstructorHierarchy and ExternalSuper are in unnamed module of loader java.net.URLClassLoader @4f51b3e0)


        test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected IllegalAccessError: java.lang.IllegalAccessError: class TestConstructorHierarchy tried to access method ExternalSuper.<init>()V (TestConstructorHierarchy and ExternalSuper are in unnamed module of loader java.net.URLClassLoader @4f51b3e0)


        membership/TestNestmateMembership.java on MacOSX:

        ----------System.err:(15/1965)----------
        java.lang.Error: Wrong IllegalAccessError: "class TestNestmateMembership$Caller tried to access method TestNestmateMembership$TargetNoHost.m()V (TestNestmateMembership$Caller and TestNestmateMembership$TargetNoHost are in unnamed module of loader 'app')" does not contain "tried to access method TestNestmateMembership$TargetNoHost.m()V from class TestNestmateMembership$Caller"
        at TestNestmateMembership.check_expected(TestNestmateMembership.java:1748)
        at TestNestmateMembership.test_NoHostInvoke(TestNestmateMembership.java:681)
        at TestNestmateMembership.main(TestNestmateMembership.java:619)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.Error: Wrong IllegalAccessError: "class TestNestmateMembership$Caller tried to access method TestNestmateMembership$TargetNoHost.m()V (TestNestmateMembership$Caller and TestNestmateMembership$TargetNoHost are in unnamed module of loader 'app')" does not contain "tried to access method TestNestmateMembership$TargetNoHost.m()V from class TestNestmateMembership$Caller"
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Error: Wrong IllegalAccessError: "class TestNestmateMembership$Caller tried to access method TestNestmateMembership$TargetNoHost.m()V (TestNestmateMembership$Caller and TestNestmateMembership$TargetNoHost are in unnamed module of loader 'app')" does not contain "tried to access method TestNestmateMembership$TargetNoHost.m()V from class TestNestmateMembership$Caller"


        The Linux-X64 versions of the failure look the same.

        These are tier1 test failures so starting at P2.
        Also, these failures are new so tagged with 'promotion_blocker'.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hseigel Harold Seigel
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: