Issue 4058: Mapping of Java byte constants to IDL (java2idl-rtf) Source: (Mr. Simon C. Nash, ) Nature: Uncategorized Issue Severity: Summary: Since Java byte values are mapped bit-for-bit to IDL (see section 1.3.3), the same should apply to byte constants. For example, -1 should map to 255. However, section 1.3.4.5 says that these constants are mapped to the same values. Proposed resolution: In section 1.3.4.5, change "are mapped to the same values" to "are mapped to the same values, except for byte constants which are mapped bit-for-bit. For example, -1 maps to 255." Resolution: resolved, see below Revised Text: In document ptc/00-12-03, section 1.3.4.5, change "are mapped to the same values" to "are mapped to the same values, except for byte constants which are mapped bit-for-bit. For example, -1 maps to 255." Actions taken: November 16, 2000: received issue October 3, 2001: closed issue Discussion: End of Annotations:===== Date: Thu, 16 Nov 2000 11:21:12 +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 of Java byte constants to IDL Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: Q!"!!9*id9bbTd9Dj#e9 Since Java byte values are mapped bit-for-bit to IDL (see section 1.3.3), the same should apply to byte constants. For example, -1 should map to 255. However, section 1.3.4.5 says that these constants are mapped to the same values. Proposed resolution: In section 1.3.4.5, change "are mapped to the same values" to "are mapped to the same values, except for byte constants which are mapped bit-for-bit. For example, -1 maps to 255." 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 Date: Tue, 05 Jun 2001 17:19:23 +0100 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: Mary Leland , vnatarajan@borland.com, Yoshitaka Honishi , jeff.mischkinsky@oracle.com, stefan.bauer@Eng.Sun.COM CC: java2idl-rtf@omg.org Subject: java2idl issue 4058 proposed resolution Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: EIdd9ge8e9lRd!!"0Ne9 The following proposed resolution for issue 4058 will be in Java to IDL RTF vote 1 which I will send out shortly: In document ptc/00-12-03, section 1.3.4.5, change "are mapped to the same values" to "are mapped to the same values, except for byte constants which are mapped bit-for-bit. For example, -1 maps to 255." Simon -- Simon C Nash, Chief Technical Officer, IBM Java Technology Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb