-
Bug
-
Resolution: Fixed
-
P1
-
2.0, 1.4.2_11
-
b01
-
b02
-
generic, x86, sparc
-
generic, linux_redhat_3.0, solaris_8, solaris_10, windows_2003
-
Verified
java version "1.4.2_11-ea"
JCK14a Test - api/java_util/HashMap/serial/index.html#ConstructorTests
fails for 1.4.2_11-ea-b01 but passes for 1.4.2_10-b3.
This is not specific to any platform - failure is observed on Solaris and Windows testing both 32bit and 64bit jvm.
STATUS for j2sdk1.4.2_10 shows all 6 test cases pass.
STATUS for j2sdk1.4.2_11 shows passed 5; failed 1 - first test cases failure: ConstructorTest 0001
See attached script HashMap_Const.sh to reproduce failure.
Output from running attached HashMap_Const.sh with java version 1.4.2_11-ea
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_11-ea-b01, mixed mode)
Chceking for assertion
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
java.lang.IllegalArgumentException: Invalid optional data: null
at javasoft.sqe.serial.spec.java.util.HashMap.verify(HashMap.java:72)
at javasoft.sqe.tests.api.java.util.HashMap.serial.ConstructorTests.Cons
tructorTest0001(ConstructorTests.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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 javasoft.sqe.tests.api.java.util.HashMap.serial.ConstructorTests.main
(ConstructorTests.java:48)
ConstructorTest0001: Failed. Test case throws exception: java.lang.IllegalArgume
ntException: Invalid optional data: null
Chceking for assertion
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0002 passed.
ConstructorTest0002: Passed. OK
Creating StreamObject from ObjectConstructorTest0003 passed.
ConstructorTest0003: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0004 passed.
ConstructorTest0004: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0005 passed.
ConstructorTest0005: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0006 passed.
ConstructorTest0006: Passed. OK
STATUS:Failed.test cases: 6; passed: 5; failed: 1; first test case failure: Cons
tructorTest0001
JCK14a Test - api/java_util/HashMap/serial/index.html#ConstructorTests
fails for 1.4.2_11-ea-b01 but passes for 1.4.2_10-b3.
This is not specific to any platform - failure is observed on Solaris and Windows testing both 32bit and 64bit jvm.
STATUS for j2sdk1.4.2_10 shows all 6 test cases pass.
STATUS for j2sdk1.4.2_11 shows passed 5; failed 1 - first test cases failure: ConstructorTest 0001
See attached script HashMap_Const.sh to reproduce failure.
Output from running attached HashMap_Const.sh with java version 1.4.2_11-ea
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_11-ea-b01, mixed mode)
Chceking for assertion
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
java.lang.IllegalArgumentException: Invalid optional data: null
at javasoft.sqe.serial.spec.java.util.HashMap.verify(HashMap.java:72)
at javasoft.sqe.tests.api.java.util.HashMap.serial.ConstructorTests.Cons
tructorTest0001(ConstructorTests.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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 javasoft.sqe.tests.api.java.util.HashMap.serial.ConstructorTests.main
(ConstructorTests.java:48)
ConstructorTest0001: Failed. Test case throws exception: java.lang.IllegalArgume
ntException: Invalid optional data: null
Chceking for assertion
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0002 passed.
ConstructorTest0002: Passed. OK
Creating StreamObject from ObjectConstructorTest0003 passed.
ConstructorTest0003: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0004 passed.
ConstructorTest0004: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0005 passed.
ConstructorTest0005: Passed. OK
Creating StreamObject from Object
Verifying for JDK version : 1.2
Creating from the spec class.
Verifying the constraints on the serial fields
ConstructorTest0006 passed.
ConstructorTest0006: Passed. OK
STATUS:Failed.test cases: 6; passed: 5; failed: 1; first test case failure: Cons
tructorTest0001
- duplicates
-
JDK-6351146 Regression : 4901731 encoder test passing with 142_10-b03 but failing with 142_11-b01
- Closed
-
JDK-6352908 Regression:HashMap threw Exception CORBA MARSHAL for 142_11-b01 but passes for 142_10-b03 for all OS
- Closed
-
JDK-6358861 REGRESSION:RMI regression testcase was failing with 142_11-b01 and Passing with 142_10
- Closed
-
JDK-6360830 Util.loadClass() raised "AccessControlException" is thrown on win2003EE AMD but tests passes in x86
- Closed
- relates to
-
JDK-6280967 (coll) Exception thrown while deserializing HashMap
- Resolved