-
Key: I2JAV11-107
-
Legacy Issue Number: 2609
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: I have some issues with the defined implementation of methods on
org.omg.CORBA.portable.ObjectImpl.First, document 98-10-14 says the definitive place to find the
implementation for this class is in some zip file which I haven"t been able
to find. Is it available somewhere? Since I couldn"t find the zip file,
I"m depending on 98-10-14 for the implementation.Second, given that all ObjectImpl methods delegate their implementation to
a locally contained Delegate, if any given ObjectImpl subclass has not been
connected to an ORB, then it does not have a delegate, and calling any of
these methods causes a NullPointerException to be thrown. Is there a
"friendlier" way to fail? Or at least a more intuitively obvious
exception?Finally, toString, hashCode, and equals are methods common to ALL Java
Objects. These methods should ALWAYS behave as expected, ie., no
exceptions should be thrown. These were NOT defined to be implemented on
ObjectImpl in CORBA 2.2. They are defined to be implemented by document
98-10-14. These methods should either: not be implemented at all on
ObjectImpl; or be implemented in such a way that they do not throw
NullPointerException. -
Reported: I2JAV 1.0 — Thu, 15 Apr 1999 04:00 GMT
-
Disposition: Resolved — I2JAV 1.1
-
Disposition Summary:
Close, no change
-
Updated: Fri, 6 Mar 2015 21:37 GMT
I2JAV11 — Issues with ObjectImpl implementations
- Key: I2JAV11-107
- OMG Task Force: IDL to Java December 2000 RTF