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

java_sql_Timestamp.java fails with AssertionError

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b122

      Description

      java/beans/XMLEncoder/java_sql_Timestamp.java

      ----------System.out:(1/12)----------
      Test object
      ----------System.err:(31/2213)----------
      java.lang.AssertionError: Should not get here
      at java.beans.MetaData$java_sql_Timestamp_PersistenceDelegate.getNanos(java.desktop@9-ea/MetaData.java:314)
      at java.beans.MetaData$java_sql_Timestamp_PersistenceDelegate.initialize(java.desktop@9-ea/MetaData.java:331)
      at java.beans.PersistenceDelegate.writeObject(java.desktop@9-ea/PersistenceDelegate.java:118)
      at java.beans.Encoder.writeObject(java.desktop@9-ea/Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(java.desktop@9-ea/XMLEncoder.java:326)
      at java.beans.Encoder.writeExpression(java.desktop@9-ea/Encoder.java:330)
      at java.beans.XMLEncoder.writeExpression(java.desktop@9-ea/XMLEncoder.java:454)
      at java.beans.PersistenceDelegate.writeObject(java.desktop@9-ea/PersistenceDelegate.java:115)
      at java.beans.Encoder.writeObject(java.desktop@9-ea/Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(java.desktop@9-ea/XMLEncoder.java:326)
      at java.beans.Encoder.writeObject1(java.desktop@9-ea/Encoder.java:258)
      at java.beans.Encoder.cloneStatement(java.desktop@9-ea/Encoder.java:271)
      at java.beans.Encoder.writeStatement(java.desktop@9-ea/Encoder.java:301)
      at java.beans.XMLEncoder.writeStatement(java.desktop@9-ea/XMLEncoder.java:399)
      at java.beans.XMLEncoder.writeObject(java.desktop@9-ea/XMLEncoder.java:329)
      at AbstractTest.writeObject(AbstractTest.java:141)
      at AbstractTest.testObject(AbstractTest.java:131)
      at AbstractTest.test(AbstractTest.java:103)
      at java_sql_Timestamp.main(java_sql_Timestamp.java:37)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Should not get here
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lancea Lance Andersen
              Reporter:
              rhalade Rajan Halade
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: