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

jdk/lambda/vm/DefaultMethodsTest.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b99
    • Resolved In Build:
      b112
    • Verification:
      Verified

      Description

      Test fails with jdk1.8.0b99 and passes with jdk1.8.0b98

      ----------System.out:(257/17239)----------
      [TestNG] Running:
        jdk/lambda/vm/DefaultMethodsTest.java

      test public void vm.DefaultMethodsTest.testAmbiguousReabstract(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testBasicDefault(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testBridges(): failure
      java.lang.AssertionError: expected [88] but found [99]
      at org.testng.Assert.fail(Assert.java:89)
      at org.testng.Assert.failNotEquals(Assert.java:489)
      at org.testng.Assert.assertEquals(Assert.java:118)
      at org.testng.Assert.assertEquals(Assert.java:160)
      at separate.TestHarness.assertStaticCallEquals(TestHarness.java:197)
      at separate.TestHarness.assertInvokeInterfaceEquals(TestHarness.java:248)
      at vm.DefaultMethodsTest.testBridges(DefaultMethodsTest.java:518)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      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:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)
      Test DefaultMethodsTest.testBridges FAILED
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testConflict(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testCovarBridge(): failure
      java.lang.AssertionError: expected [99] but found [88]
      at org.testng.Assert.fail(Assert.java:89)
      at org.testng.Assert.failNotEquals(Assert.java:489)
      at org.testng.Assert.assertEquals(Assert.java:118)
      at org.testng.Assert.assertEquals(Assert.java:160)
      at separate.TestHarness.assertStaticCallEquals(TestHarness.java:197)
      at separate.TestHarness.assertInvokeVirtualEquals(TestHarness.java:220)
      at vm.DefaultMethodsTest.testCovarBridge(DefaultMethodsTest.java:690)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      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:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)
      Test DefaultMethodsTest.testCovarBridge FAILED
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testDiamond(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testDisqualified(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testExisting(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testExistingInherited(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testExistingInheritedPlusDefault(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testExpandedDiamond(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testFarDefault(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testHarnessInvokeInterface(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testHarnessInvokeVirtual(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testHarnessThrows(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testInherited(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testInheritedWithConcrete(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testInheritedWithConcreteAndImpl(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testNoCovarNoBridge(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testNoNewMiranda(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testNonConcreteFill(): failure
      java.lang.AssertionError: Unexpected exception thrown: java.lang.AbstractMethodError: Method I.m(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)I is abstract
      at org.testng.Assert.fail(Assert.java:89)
      at separate.TestHarness.assertStaticCallEquals(TestHarness.java:200)
      at separate.TestHarness.assertInvokeInterfaceEquals(TestHarness.java:248)
      at vm.DefaultMethodsTest.testNonConcreteFill(DefaultMethodsTest.java:799)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      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:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)
      Test DefaultMethodsTest.testNonConcreteFill FAILED
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testOverrideAbstract(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testReabstract(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testReflectCall(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSelfFill(): failure
      java.lang.AssertionError: expected [88] but found [99]
      at org.testng.Assert.fail(Assert.java:89)
      at org.testng.Assert.failNotEquals(Assert.java:489)
      at org.testng.Assert.assertEquals(Assert.java:118)
      at org.testng.Assert.assertEquals(Assert.java:160)
      at separate.TestHarness.assertStaticCallEquals(TestHarness.java:197)
      at separate.TestHarness.assertInvokeInterfaceEquals(TestHarness.java:248)
      at vm.DefaultMethodsTest.testSelfFill(DefaultMethodsTest.java:416)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      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:51)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      at org.testng.TestNG.run(TestNG.java:1030)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)
      Test DefaultMethodsTest.testSelfFill FAILED
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testShadow(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testStrictfpDefault(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperBasic(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperConflict(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperDisqual(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperGeneric(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperGenericDisqual(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success
      test public void vm.DefaultMethodsTest.testSuperNull(): success
      config public void separate.TestHarness.printError(org.testng.ITestResult): success
      config public void separate.TestHarness.reset(): success

      ===============================================
      jdk/lambda/vm/DefaultMethodsTest.java
      Total tests run: 33, Failures: 4, Skips: 0
      ===============================================

      ----------System.err:(14/804)----------
      java.lang.Exception: failures: 4
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:158)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)

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

      STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 4
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 4

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              asakharu Aleksandr Sakharuk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: