Issue 5693: POA changes missing in Java source archive (java-rtf) Source: Objective Interface Systems (Mr. Victor Giddings, victor.giddings(at)mail.ois.com) Nature: Uncategorized Issue Severity: Summary: Summary: The following CORBA 2.4 additions to the PortableServer module are missing from the latest Java source archive (http://cgi.omg.org/cgi-bin/doc?ptc/02-06-14): - in enumeration ThreadPolicyValue: the MAIN_THREAD_MODEL value - in Current: operations get_reference and get_servant Proposed Resolution: I believe all changes should be binary compatible with the existing distribution. Therefore, no PortableServer_2_4 package should be necessary. It should be sufficient to apply these patches to the next distribution: diff -r1.1 CurrentOperations.java 7a8,9 > import org.omg.CORBA.Object; > 13a16,20 > > public Object get_reference() throws org.omg.PortableServer.CurrentPackage.NoContext; > > public Servant get_servant() throws org.omg.PortableServer.CurrentPackage.NoContext; > diff -r1.1 ThreadPolicyValue.java 33a34,37 > public static final int _MAIN_THREAD_MODEL = 2; > public static final ThreadPolicyValue MAIN_THREAD_MODEL = > new ThreadPolicyValue(_MAIN_THREAD_MODEL); > 44a49,50 > case _MAIN_THREAD_MODEL: > return MAIN_THREAD_MODEL; Resolution: Incorporate changes and close issue Revised Text: Add the following methods to org.omg.PortableServer.CurrentOperations: public org.omg.CORBAObject get_reference() throws org.omg.PortableServer.CurrentPackage.NoContext; public Servant get_servant() throws org.omg.PortableServer.CurrentPackage.NoContext; Add the following static data members to org.omg.PortableServer.ThreadPolicyValue: public static final int _MAIN_THREAD_MODEL = 2; public static final ThreadPolicyValue MAIN_THREAD_MODEL = new ThreadPolicyValue(_MAIN_THREAD_MODEL); Add the following to the org.omg.PortableServer.ThreadPolicyValue.from_int(int) method, just before the default label in the switch statement: case _MAIN_THREAD_MODEL: return MAIN_THREAD_MODEL; Actions taken: October 21, 2002: received issue April 28, 2003: closed issue Discussion: End of Annotations:===== X-Sender: giddiv@postel X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 21 Oct 2002 16:59:33 -0400 To: issues@omg.org From: Victor Giddings Subject: POA changes missing in Java source archive Cc: java-rtf@omg.ois.com The following issue should be directed to the IDL to Java RTF: Summary: The following CORBA 2.4 additions to the PortableServer module are missing from the latest Java source archive (http://cgi.omg.org/cgi-bin/doc?ptc/02-06-14): - in enumeration ThreadPolicyValue: the MAIN_THREAD_MODEL value - in Current: operations get_reference and get_servant Proposed Resolution: I believe all changes should be binary compatible with the existing distribution. Therefore, no PortableServer_2_4 package should be necessary. It should be sufficient to apply these patches to the next distribution: diff -r1.1 CurrentOperations.java 7a8,9 > import org.omg.CORBA.Object; > 13a16,20 > > public Object get_reference() throws org.omg.PortableServer.CurrentPackage.NoContext; > > public Servant get_servant() throws org.omg.PortableServer.CurrentPackage.NoContext; > diff -r1.1 ThreadPolicyValue.java 33a34,37 > public static final int _MAIN_THREAD_MODEL = 2; > public static final ThreadPolicyValue MAIN_THREAD_MODEL = > new ThreadPolicyValue(_MAIN_THREAD_MODEL); > 44a49,50 > case _MAIN_THREAD_MODEL: > return MAIN_THREAD_MODEL; Victor Giddings mailto:victor.giddings@ois.com Senior Product Engineer +1 703 295 6500 Objective Interface Systems Fax: +1 703 295 6501