-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
generic
-
generic
Hostname: jtg-s117
Hostid: 808fe83f
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: sunsoft.eng.sun.com
Kernel version: SunOS 5.8 Generic 108621-02 January 2000
===========
Status of processor 0 as of: 04/09/00 04:10:37
Processor has been on-line since 03/24/00 04:34:55.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 04/09/00 04:10:37
Processor has been on-line since 03/24/00 04:34:56.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
===========
Solaris 8 6/00 s28s_u1wos_02 SPARC
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
Assembled 13 January 2000
===========
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b24)
Java HotSpot(TM) Core VM (build 1.3-internal, interpreted mode)
============
To reproduce, run the attached script.
=============
Run time output.
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b24)
Java HotSpot(TM) Core VM (build 1.3-internal, interpreted mode)
Compiling ...
Note: WindowTests.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Running ...
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.awt.Frame.readObject(Frame.java:815)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at javasoft.sqe.jck.lib.SerializeTest.read(SerializeTest.java:385)
at javasoft.sqe.jck.lib.SerializeTest.testRead(SerializeTest.java:280)
at WindowTests.testRead(WindowTests.java:37)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at WindowTests.main(WindowTests.java:150)
testRead: Failed. Test case throws exception: java.io.OptionalDataException
testWrite: Passed. OKAY
STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
97
takwing.cheung@Eng 2000-07-24
Hostid: 808fe83f
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: sunsoft.eng.sun.com
Kernel version: SunOS 5.8 Generic 108621-02 January 2000
===========
Status of processor 0 as of: 04/09/00 04:10:37
Processor has been on-line since 03/24/00 04:34:55.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 04/09/00 04:10:37
Processor has been on-line since 03/24/00 04:34:56.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
===========
Solaris 8 6/00 s28s_u1wos_02 SPARC
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
Assembled 13 January 2000
===========
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b24)
Java HotSpot(TM) Core VM (build 1.3-internal, interpreted mode)
============
To reproduce, run the attached script.
=============
Run time output.
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b24)
Java HotSpot(TM) Core VM (build 1.3-internal, interpreted mode)
Compiling ...
Note: WindowTests.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Running ...
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.awt.Frame.readObject(Frame.java:815)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at javasoft.sqe.jck.lib.SerializeTest.read(SerializeTest.java:385)
at javasoft.sqe.jck.lib.SerializeTest.testRead(SerializeTest.java:280)
at WindowTests.testRead(WindowTests.java:37)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at WindowTests.main(WindowTests.java:150)
testRead: Failed. Test case throws exception: java.io.OptionalDataException
testWrite: Passed. OKAY
STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
97
takwing.cheung@Eng 2000-07-24
- duplicates
-
JDK-4353663 java.awt.Frame.readObject needs to handle case of missing optional data
- Resolved