-
Enhancement
-
Resolution: Fixed
-
P3
-
1.2.2
-
1.3
-
sparc
-
solaris_7
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2028097 | 1.3.0 | Hemanth Puttaswamy | P3 | Resolved | Fixed | kestrel |
In class org.omg.CORBA.CosNaming._NamingContextStub.
Method bind_context(NameComponent[],NameContext). What should the
behaviour be when the NameContext is null? We have test code from
Object-Oriented Concepts, Inc. The test code used a null 2nd arg.
If the behaviour is not defined then we should expect users, however
foolish, to use it. If and when JavaSoft changes the behavior
(rather than defaulting it?) it will break user's codes.
Method bind(NameComponent[],Object). What should the behavior be when
the Object is null? See above.
ajay.awatramani@eng 1999-07-15
Method rebind(NameComponent[],Object) : Undefined behavior when Object is null.
ajay.awatramani@eng 1999-07-21
The bind() apparently binds a null object to the NameComponent (say name1) and when an unbind(name1) is called, an Exception is thrown.
A similar observation :
The bind() binds a null object to the NameComponent (say name1) and
when object = resolve(NameComponent) is called, an Exception is thrown.
ajay.awatramani@eng 1999-07-22
- backported by
-
JDK-2028097 Behavior of CORBA methods passed null args is not defined.
-
- Resolved
-