Issue 1960: Mapping of Java arrays (java2idl-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: Generated names in the ::org::omg::sequences module can clash. For example, a Java array of type foo[][] and a Java array of type seq_foo[] both map to ::org::omg::sequences::seq_seq_foo. I propose that instead of using repeated "seq_" prefixes for the array dimensions, a single prefix "seq<n>_", where <n> is the number of dimensions, should be used. This ensures no clashes. In the example above, these Java types would map to seq2_foo and seq1_seq_foo. Resolution: Revised Text: :org::omg::sequences::seq_seq_foo. Actions taken: September 16, 1998: received issue February 23, 1999: closed issue Discussion: End of Annotations:===== Return-Path: Date: Wed, 16 Sep 1998 00:55:46 +0100 From: Simon Nash Organization: IBM To: java2idl-rtf@omg.org CC: issues@omg.org Subject: Mapping of Java arrays Generated names in the ::org::omg::sequences module can clash. For example, a Java array of type foo[][] and a Java array of type seq_foo[] both map to ::org::omg::sequences::seq_seq_foo. I propose that instead of using repeated "seq_" prefixes for the array dimensions, a single prefix "seq_", where is the number of dimensions, should be used. This ensures no clashes. In the example above, these Java types would map to seq2_foo and seq1_seq_foo. Simon -- Simon C Nash, IBM Java Technology Centre, Hursley, UK MailPoint 146, x245156 Tel. 01962 815156 or +44-1962-815156 Internet: nash@hursley.ibm.com Notes mail: Simon Nash@ibmgb