-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
7
-
x86
-
solaris_10
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
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
- duplicates
-
JDK-6525396 LTP: java.beans.XMLEncoder does not serialize as xml java.sql.Timestamp members
- Closed