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

closed/java/beans/XMLEncoder/java_sql_Timestamp tests throw java.lang.StackOverflowError

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_10

      Description

      JDK : 7 b08
      Platform[s] : Fails On: Solaris 10 i586
      Failing Test [s] :
      closed/java/beans/XMLEncoder/java_sql_Timestamp.java
      closed/java/beans/XMLEncoder/java_sql_Timestamp_CREATE.java
      closed/java/beans/XMLEncoder/java_sql_Timestamp_CREATE_SM.java
      closed/java/beans/XMLEncoder/java_sql_Timestamp_SM.java
      closed/java/beans/XMLEncoder/java_sql_Timestamp_UPDATE.java
      closed/java/beans/XMLEncoder/java_sql_Timestamp_UPDATE_SM.java

          Test source location:
          =====================
      /net/koori/onestop/jdk/7.0/latest/ws/j2se/test/

          jtr file location:
          ==================
      Files attached

          How to reproduce:
          ====================
          - Set JAVA_HOME to /net/koori/onestop/jdk/7.0/latest/binaries/solaris-i586
          - cd /net/koori/onestop/jdk/7.0/latest/ws/j2se/test/closed/java/beans/XMLEncoder
          - /net/koori.sfbay/onestop/jct-tools/3.2.2_01/archived/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp ./java_sql_Timestamp.java


          Test output:
          =============
      From java_sql_Timestamp.jtr:
      java.lang.StackOverflowError
      at java.lang.ref.ReferenceQueue.poll(ReferenceQueue.java:81)
      at java.util.WeakHashMap.expungeStaleEntries(WeakHashMap.java:274)
      at java.util.WeakHashMap.getTable(WeakHashMap.java:302)
      at java.util.WeakHashMap.getEntry(WeakHashMap.java:379)
      at java.util.WeakHashMap.containsKey(WeakHashMap.java:369)
      at java.util.Collections$SynchronizedMap.containsKey(Collections.java:1969)
      at java.lang.reflect.Proxy.isProxyClass(Proxy.java:619)
      at java.beans.MetaData.getPersistenceDelegate(MetaData.java:1219)
      at java.beans.Encoder.getPersistenceDelegate(Encoder.java:149)
      at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:188)
      at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:389)
      at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:189)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:99)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeObject1(Encoder.java:206)
      at java.beans.Encoder.cloneStatement(Encoder.java:219)
      at java.beans.Encoder.writeExpression(Encoder.java:278)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      ........
               
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:96)
      at java.beans.Encoder.writeObject(Encoder.java:54)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:310)
      at java.beans.Encoder.writeExpression(Encoder.java:279)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:425

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jaleesunw James Lee (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: