|
Quick Lists
|
|
Bug ID:
|
4676248
|
|
Votes
|
0
|
|
Synopsis
|
JDK 1.3.1/1.4 interop failure for all exceptions
|
|
Category
|
idl:orb
|
|
Reported Against
|
1.3.1_04
|
|
Release Fixed
|
1.4(1.4.0_03),
hopper(hopper-beta) (Bug ID:2054129)
, 1.3.1(1.3.1_05) (Bug ID:2054130)
|
|
State
|
11-Closed,
Unverified,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4615605
,
4743229
,
4833514
,
4847269
,
4904723
|
|
Submit Date
|
29-APR-2002
|
|
Description
|
See bug 4615605 for extra information.
java.lang.Throwable evolved in J2SE 1.4 to add a stack trace and a cause Throwable. While 4615605 fixed interop between 1.3.1_04 and Hopper in the sense that Hopper will now receive the correct exceptions (and vice versa), the detailMessage is getting lost -- it gets set to null. Unfortunately, this means that the toString method of Throwable in 1.3.1_04 generates NullPointerExceptions.
The problem comes from two issues with the ValueHandler:
1. On the 1.3.1_04 side, the switch statements for reading class data based on FVD typecodes do not have tk_value. They only have tk_value_box.
2. On the Hopper side, the UnknownExceptionInfo service context is being encoded with GIOP 1.2 CDR even though 1.3.1_04 can only speak 1.0 CDR.
NOTE: The fix for 4615605 did not cause these problems. They were there, behind the problems addressed in 4615605. The test case didn't print the exceptions, so didn't detect the error.
Expanded test case attached.
|
|
Work Around
|
N/A
|
|
Evaluation
|
See evaluation in the description section.
Note again that this problem was not caused by the 1.3.1_04 fixes. Even if these changes cannot go into 1.3.1_04, 1.3.1_04 is an improvement over 1.3.1_01.
Please see the webrevs at
http://javaweb.sfbay.sun.com/~eea1/eea1_patch2
The above are the necessary fixes for 1.3.1_04.
I will provide the webrevs for the necessary changes to Hopper (plus the above changes) shortly.
xxxxx@xxxxx 2002-04-28
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |