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

java/lang/invoke/AccessControlTest.java starts failing on all platforms

    XMLWordPrintable

    Details

      Description

      java/lang/invoke/AccessControlTest.java

      This test starts failing on all platform in 2015-12-01 jigsaw nightly testing.

      #section:testng
      ----------messages:(3/177)----------
      command: testng test.java.lang.invoke.AccessControlTest
      reason: User specified action: run testng/othervm test.java.lang.invoke.AccessControlTest
      elapsed time (seconds): 0.591
      ----------System.out:(51/3175)----------
      [TestNG] Running:
        java/lang/invoke/AccessControlTest.java

      loaders = [jdk.internal.misc.ClassLoaders$AppClassLoader@357246de, java.lang.invoke.MethodHandles$LookupHelper$1@27a497d5]
      filled in 32 cases from 9 original cases in 3 rounds
      Unnamed/public/loader#2 => AccessControlTest
      fail findClass ex=java.lang.ClassNotFoundException: test.java.lang.invoke.AccessControlTest
      test test.java.lang.invoke.AccessControlTest.test(): failure
      java.lang.AssertionError: expected [false] but found [true]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:494)
      at org.testng.Assert.assertEquals(Assert.java:123)
      at org.testng.Assert.assertEquals(Assert.java:286)
      at org.testng.Assert.assertEquals(Assert.java:296)
      at test.java.lang.invoke.AccessControlTest.testOneAccess(AccessControlTest.java:447)
      at test.java.lang.invoke.AccessControlTest.test(AccessControlTest.java:399)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      at org.testng.TestNG.run(TestNG.java:1057)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)

      ===============================================
      java/lang/invoke/AccessControlTest.java
      Total tests run: 1, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(14/867)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)

      JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1

        Attachments

        1. patch
          2 kB
          Michael Haupt

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: