Issue 3788: Mapping for Sequences -> <sequence_class>Holder "RequiredTraits" exception issue () Source: Sun Microsystems (Mr. Ram Jeyaraman, ram.jeyaraman@sun.com) Nature: Uncategorized Issue Severity: Summary: Re : ptc/00-01-08 IDL to Java Language mapping spec, Section 1.10 The <sequence_class>Holder class shown below does not implement org.omg.CORBA.portable.Streamable interface, whereas the basic type holders like ShortHolder implement the Streamable interface. final public class <sequence_class>Holder { public <sequence_element_type>[] value; public <sequence_class>Holder() {}; public <sequence_class>Holder( <sequence_element_type>[] initial) {...}; public void _read( org.omg.CORBA.portable.InputStream is) {...} public void _write( org.omg.CORBA.portable.OutputStream os) {...} public org.omg.CORBA.TypeCode _type() {...} Resolution: see below Revised Text: Add "implements org.omg.CORBA.portable.Streamable" to final public class <sequence_class>Holder in Section 10. Actions taken: August 19, 2000: received issue February 27, 2001: closed issue Discussion: End of Annotations:===== Date: Sat, 19 Aug 2000 21:00:36 -0700 From: Ram Jeyaraman Organization: JavaSoft, Sun Microsystems Inc. X-Mailer: Mozilla 4.72 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org CC: java-rtf@omg.org Subject: IDL/Java issue : Mapping for Sequences -> Holder definition incorrect. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: )BJ!!j&(e9M4md9Gp5!! Re : ptc/00-01-08 IDL to Java Language mapping spec, Section 1.10 The Holder class shown below does not implement org.omg.CORBA.portable.Streamable interface, whereas the basic type holders like ShortHolder implement the Streamable interface. final public class Holder { public [] value; public Holder() {}; public Holder( [] initial) {...}; public void _read( org.omg.CORBA.portable.InputStream is) {...} public void _write( org.omg.CORBA.portable.OutputStream os) {...} public org.omg.CORBA.TypeCode _type() {...} } thanks, Ram Jeyaraman