Issue 4004: Mapping CORBA minor codes to Java (java2idl-rtf) Source: (Mr. Simon C. Nash, ) Nature: Uncategorized Issue Severity: Summary: Section 1.4.8 of the Java to IDL mapping spec says that when mapping CORBA system exceptions to RMI exceptions, the minor code is formatted as a decimal number. This is a readability issue for both OMG standard minor codes and vendor-specific minor codes. For example, the OMG standard minor code 0x4f4d0001 would be formatted as 1330446337 and a vendor proprietary minor code 0xc9c25401 would be formatted as 3384955905 (or -910011391 if using signed 32-bit arithmetic). Proposed resolution: In section 1.4.8, change the fourth bullet to: • followed by the hexadecimal value of the system exception’s minor code In the following paragraph, change the example detail string to: “CORBA UNKNOWN 0x31 Maybe” Resolution: See revised text below. Revised Text: In section 1.4.8, change the fourth bullet to: • followed by the hexadecimal value of the system exception’s minor code In the following paragraph, change the example detail string to: “CORBA UNKNOWN 0x31 Maybe” Actions taken: October 30, 2000: received issue May 24, 2001: closed issue Discussion: End of Annotations:===== Date: Sun, 29 Oct 2000 14:17:46 +0000 From: Simon Nash Organization: IBM X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org CC: java2idl-rtf@omg.org Subject: Mapping CORBA minor codes to Java Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-UIDL: L+~e9!J/!!'h/!!$5_!! Section 1.4.8 of the Java to IDL mapping spec says that when mapping CORBA system exceptions to RMI exceptions, the minor code is formatted as a decimal number. This is a readability issue for both OMG standard minor codes and vendor-specific minor codes. For example, the OMG standard minor code 0x4f4d0001 would be formatted a In the following paragraph, change the example detail string to: s Simon -- Simon C Nash, Technology Architect, IBM Java Technology Centre Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb 1330446337 and a vendor proprietary minor code 0xc9c25401 would be formatted as 3384955905 (or -910011391 if using signed 32-bit arithmetic). Proposed resolution: In section 1.4.8, change the fourth bullet to: followed by the hexadecimal value of the system exception