United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6989150 JCK7: 3 deserialization tests for javax.xml classes fail since JDK7-b112
6989150 : JCK7: 3 deserialization tests for javax.xml classes fail since JDK7-b112

Details
Type:
Bug
Submit Date:
2010-10-03
Status:
Closed
Updated Date:
2012-04-25
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
xml
OS:
generic
Sub-Component:
javax.xml.parsers
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
1.4.0

Related Reports
Backport:
Backport:

Sub Tasks

Description
Filed By       : JCK team
JDK            : java full version "1.7.0-ea-b112"
JCK            : 7-ea-b41
Platform[s]    : ALL
switch/Mode    : default
JCK test owner : http://javaweb.sfbay.sun.com/jcce/tcks/jck/docs/others/owners.jto
Failing Test[s]:
  api/javax_xml/parsers/FactoryConfigurationError/serial/index.html#Input
  api/javax_xml/stream/FactoryConfigurationError/serial/index.html#Input
  api/javax_xml/transform/TFactoryConfigurationError/serial/index.html#Input

Log files are attached.

                                    

Comments
EVALUATION

Patched in jaxp 1.4 on 10/12/2010.
                                     
2011-03-07
EVALUATION

Looks like there's a descrepency between the JCK and JAXP TCK since the jdk-jaxp bundle passed JAXP TCK with no issue. The failed tests do not seem to exist in the jaxp tck. Can you please address the issue so that we could identify such issues during the early jaxp dev stage?

For this particular issue, can you attach the tests and relevant files?

Thanks.
                                     
2010-10-04
EVALUATION

The failures are caused by different serialVersionUIDs values for these classes in JDK 6 and JDK7. The following constants (based on serialver output in JDK 1.6.0-fcs) must be added into the appropriate classes:

  javax.xml.parsers.FactoryConfigurationError:
    private static final long serialVersionUID = -827108682472263355L;

  javax.xml.stream.FactoryConfigurationError:
    private static final long serialVersionUID = -2994412584589975744L;

  javax.xml.transform.TransformerFactoryConfigurationError:
    private static final long serialVersionUID = -6527718720676281516L;
                                     
2010-10-04



Hardware and Software, Engineered to Work Together