-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b32
-
generic, sparc
-
generic, solaris_2.6
-
Verified
Name: mmR10223 Date: 10/22/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b24 (passes using JDK1.5.0-b23, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b06)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_naming/spi/ResolveResult/serial/index.html#Constructor [serial2001]
api/javax_naming/LinkException/serial/index.html#Constructor [serial2001, serial2002, serial2003]
api/javax_naming/NamingException/serial/index.html#Constructor [serial2001, serial2002, serial2003]
api/javax_naming/CannotProceedException/serial/index.html#Constructor
These tests fail using JDK1.5.0-b24 on all platforms with java.lang.IllegalArgumentException:
1. For api/javax_naming/spi/ResolveResult/serial/index.html#Constructor
java.lang.IllegalArgumentException: Invalid field: javax.naming.Name remainingName
at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
...
2. For api/javax_naming/LinkException/serial/index.html#Constructor
java.lang.IllegalArgumentException: Invalid field: javax.naming.Name linkRemainingName
at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
...
3. For api/javax_naming/NamingException/serial/index.html#Constructo
java.lang.IllegalArgumentException: Invalid field: javax.naming.Name remainingName
at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
...
4. For api/javax_naming/CannotProceedException/serial/index.html#Constructor
java.lang.IllegalArgumentException: Invalid field: javax.naming.Name altName
at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556
...
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_naming/spi/ResolveResult/serial/ConstructorTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_naming/LinkException/serial/ConstructorTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_naming/NamingException/serial/ConstructorTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_naming/CannotProceedException/serial/ConstructorTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/sparc/sol10_sparc_gnome_plugin_ns6.1_linux-8/workDir/api/javax_naming/spi/ResolveResult/serial/index_Constructor.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/sparc/sol10_sparc_gnome_plugin_ns6.1_linux-8/workDir/api/javax_naming/LinkException/serial/index_Constructor.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/sparc/sol10_sparc_gnome_plugin_ns6.1_linux-8/workDir/api/javax_naming/NamingException/serial/index_Constructor.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/sparc/sol10_sparc_gnome_plugin_ns6.1_linux-8/workDir/api/javax_naming/CannotProceedException/serial/index_Constructor.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b24/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta/b06/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b24/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b06/binaries/JCK-runtime-15"
#Alternative paths for the NSK site:
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.naming.spi.ResolveResult.serial.ConstructorTests -TestCaseID serial2001
--- script end ---
Test output:
============
java.lang.IllegalArgumentException: Invalid field: javax.naming.Name remainingName
at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
at javasoft.sqe.tests.api.javax.naming.spi.ResolveResult.serial.ConstructorTests.serial2001(ConstructorTests.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:610)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:379)
at com.sun.javatest.agent.Agent.access$000(Agent.java:43)
at com.sun.javatest.agent.Agent$1.run(Agent.java:255)
at java.lang.Thread.run(Thread.java:549)
serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: Invalid field: javax.naming.Name remainingName
result: Failed. test cases: 1; all failed; first test case failure: serial2001
test result: Failed. test cases: 1; all failed; first test case failure: serial2001
Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003
Hostname: linux-22
OS: RedHat Linux 9.0 (GNOME)
Hostname: linux-4
OS: SuSE SLES 8
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
======================================================================
- duplicates
-
JDK-4943271 REGRESSION:javax.naming.Name changed its serialVersionUID
- Closed
- relates to
-
JDK-4912487 javax.naming.Name should extend Comparable
- Resolved