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

java/time/tck/java/time/chrono/serial/TCKChronoLocalDateSerialization.java fails on cpu build

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:

      Description

      fails on jdk1.8.0b122cpu and jdk1.8.0b121cpu

      ----------System.out:(54/4151)----------
      [TestNG] Running:
        java/time/tck/java/time/chrono/serial/TCKChronoLocalDateSerialization.java

      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_ChronoSerialization(Japanese Heisei 25-01-05, 4): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_ChronoSerialization(Minguo ROC 102-01-05, 7): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_ChronoSerialization(ThaiBuddhist BE 2556-01-05, 8): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_hijrahSerialization_format(): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(java.lang.Class@c7c249): failure
      java.lang.AssertionError: Class should not be deserializable java.time.chrono.JapaneseEra
      at org.testng.Assert.fail(Assert.java:94)
      at tck.java.time.AbstractTCKTest.assertNotSerializable(AbstractTCKTest.java:201)
      at tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(TCKChronoLocalDateSerialization.java:182)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      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:161)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:145)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(java.lang.Class@46f090): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(java.lang.Class@13d03d0): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(java.lang.Class@16d6295): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_invalid_serialform(java.lang.Class@10f2c22): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_serialization_format(Japanese Heisei 25-01-05, 4): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_serialization_format(Minguo ROC 102-01-05, 7): success
      test tck.java.time.chrono.serial.TCKChronoLocalDateSerialization.test_serialization_format(ThaiBuddhist BE 2556-01-05, 8): success

      ===============================================
      java/time/tck/java/time/chrono/serial/TCKChronoLocalDateSerialization.java
      Total tests run: 12, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(14/804)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:164)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:145)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

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

        Attachments

          Activity

            People

            • Assignee:
              rriggs Roger Riggs
              Reporter:
              asakharu Aleksandr Sakharuk (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: