Issue 5694: What is the IDL for ServiceInformation and/or what is correct Java mapping? (java-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Are both of these correct? [It seems like the Java maps "sequence <ServiceDetailType> service_details" instead of "sequence <ServiceDetail> service_details"] from formal/02-06-33 "CORBA 3.0 full specification typedef unsigned long ServiceOption; typedef unsigned long ServiceDetailType; struct ServiceDetail { ServiceDetailType service_detail_type; sequence <octet> service_detail; }; struct ServiceInformation { sequence <ServiceOption> service_options; sequence <ServiceDetail> service_details; }; from ptc/02-09-09 "Revision of the interim Java RTF Java .zip archive package org.omg.CORBA; public final class ServiceInformation implements org.omg.CORBA.portable.IDLEntity { public int[] service_options; public int[] service_details; public ServiceInformation() { } public ServiceInformation (int[] service_options, int[] service_details) { this.service_options = service_options; this.service_details = service_details; } } Resolution: Incorporate changes and close issue Revised Text: In class org.omg.CORBA.ServiceInformation in the zip file, change public int[] server_details to public org.omg.CORBA.ServiceDetail[] service_details Also, change public ServiceInformation (int[] service_options, int[] service_details) { to public ServiceInformation (org.omg.CORBA.ServiceDetail[] service_options, int[] service_details) { Actions taken: October 21, 2002: received issue April 28, 2003: closed issue Discussion: End of Annotations:===== Subject: What is the IDL for ServiceInformation and/or what is the correct Java mapping for it? Date: Mon, 21 Oct 2002 13:57:52 -0700 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: What is the IDL for ServiceInformation and/or what is the correct Java mapping for it? Thread-Index: AcJ5RIVT3fRHlZSnRHSe/zBNPuqGpA== From: "George, David (Tandem)" To: X-OriginalArrivalTime: 21 Oct 2002 20:57:52.0579 (UTC) FILETIME=[8596E130:01C27944] Are both of these correct? [It seems like the Java maps "sequence service_details" instead of "sequence service_details"] from formal/02-06-33 "CORBA 3.0 full specification typedef unsigned long ServiceOption; typedef unsigned long ServiceDetailType; struct ServiceDetail { ServiceDetailType service_detail_type; sequence service_detail; }; struct ServiceInformation { sequence service_options; sequence service_details; }; from ptc/02-09-09 "Revision of the interim Java RTF Java .zip archive package org.omg.CORBA; public final class ServiceInformation implements org.omg.CORBA.portable.IDLEntity { public int[] service_options; public int[] service_details; public ServiceInformation() { } public ServiceInformation (int[] service_options, int[] service_details) { this.service_options = service_options; this.service_details = service_details; } } X-Sender: giddiv@postel X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 19 Nov 2002 14:16:51 -0500 To: Ken Cavanaugh From: Victor Giddings Subject: Re: Vote 4 Cc: java-rtf@omg.org Objective Interface votes yes on all vote 4 issues, except 5694. However, we would vote yes, if the resolution is amended as below. At 01:32 AM 11/18/2002 -0800, Ken Cavanaugh wrote: Java RTF Vote 4 Due 5 pm PST, November 25 2002 [...] ======================================================================== 5694 What is the IDL for ServiceInformation and/or what is correct Java mapping? ======================================================================== There is an error in the zip file in the declaration of org.omg.CORBA.ServiceInformation. Proposed resolution: In class org.omg.CORBA.ServiceInformation in the zip file, change public int[] server_details to public org.omg.CORBA.ServiceDetail[] service_details Amendment: add: Also change the signature of the second constructor from: public ServiceInformation (int[] service_options, int[] service_details) to public ServiceInformation (int[] service_options, org.omg.CORBA.ServiceDetail[] service_details) Victor Giddings mailto:victor.giddings@ois.com Senior Product Engineer +1 703 295 6500 Objective Interface Systems Fax: +1 703 295 6501