Issue 4794: OMG Java Language Mapping and the use of Java null (java-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: We here at Nortel Networks use CORBA extensively. However, we have a question regarding the use of Java null, and the most recent OMG spec seems to have some mixed messages. Section 1.4.1.5 has been there for some time, and it is pretty clear what is legal and what is illegal. However, in section 1.4.1.4, it seems to say that in the Holder class, the Java Strings are initialized to null rather than "". We are asking this question because it is affecting one of our software products. We are getting org.omg.CORBA.BAD_PARAM exception once in a while. We are using Sun's JRE ORB(JRE 1.3.1_01). Resolution: close issue no change Revised Text: Actions taken: December 18, 2001: received issue May 13, 2002: closed issue Discussion: End of Annotations:===== X-Sender: andrew@192.67.184.65 Message-Id: Mime-Version: 1.0 Date: Tue, 18 Dec 2001 15:47:31 +0000 To: issues@omg.org From: Min Lu Subject: OMG Java Language Mapping and the use of Java null Content-Type: text/plain; charset="us-ascii" X-UIDL: iWC!!+:fd9lG*e9O15!! We here at Nortel Networks use CORBA extensively. However, we have a question regarding the use of Java null, and the most recent OMG spec seems to have some mixed messages. Section 1.4.1.5 has been there for some time, and it is pretty clear what is legal and what is illegal. However, in section 1.4.1.4, it seems to say that in the Holder class, the Java Strings are initialized to null rather than "". We are asking this question because it is affecting one of our software products. We are getting org.omg.CORBA.BAD_PARAM exception once in a while. We are using Sun's JRE ORB(JRE 1.3.1_01). =========================================================== Min Lu lumin@nortelnetworks.com Sr. Software Engineer (919)991-7286 Succession Platform Solutions ESN:351-7286 Nortel Networks 35 Davis Drive RTP, NC 27709 =========================================================== At 03:44 PM 12/18/2001 -0500, you wrote: Name: Min Lu Company: Nortel Networks mailFrom: lumin@nortelnetworks.com Notification: Yes Specification: OMG IDL to Java Language Mapping Section: 1.4.1.4 FormalNumber: formal/01-06-06 Version: 1.1 RevisionDate: 01-06-06 Page: 20 Nature: Clarification Severity: Minor HTTP User Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Description We here at Nortel Networks use CORBA extensively. However, we have a question regarding the use of Java null, and the most recent OMG spec seems to have some mixed messages. Section 1.4.1.5 has been there for some time, and it is pretty clear what is legal and what is illegal. However, in section 1.4.1.4, it seems to say that in the Holder class, the Java Strings are initialized to null rather than "". We are asking this question because it is affecting one of our software products. We are getting org.omg.CORBA.BAD_PARAM exception once in a while. We are using Sun's JRE ORB(JRE 1.3.1_01). Any advice is greatly appreciated.