Issue 9795: section 1.21.3 IDLEntity (java-rtf) Source: (, ) Nature: Clarification Severity: Minor Summary: http://www.omg.org/docs/formal/02-08-05.pdf section 1.21.3 IDLEntity inclides the Serializable interface, but if an IDLEntity has a union, it will result in Holder classes (i.e. FloatHolder) which do not implement the Serializable interface. This results in NotSerializable exceptions being created when trying to use such objects with java serialization. The quick fix would be to specify that "public interface Streamable" should extend java.io.Serializable, since the holder classes extend from that as well. Resolution: Revised Text: Actions taken: May 26, 2006: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 26 May 2006 17:24:47 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Dave Brink Company: at&t mailFrom: david.c.brink@att.com Notification: Yes Specification: OMG IDL to Java Language Mappint Section: 1.21.3 FormalNumber: http://www.omg.org/docs/formal/02-08-05.pdf Version: 1.2 RevisionDate: 08/05/2002 Page: 122 Nature: Clarification Severity: Minor HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SBC; .NET CLR 1.1.4322) Description http://www.omg.org/docs/formal/02-08-05.pdf section 1.21.3 IDLEntity inclides the Serializable interface, but if an IDLEntity has a union, it will result in Holder classes (i.e. FloatHolder) which do not implement the Serializable interface. This results in NotSerializable exceptions being created when trying to use such objects with java serialization. The quick fix would be to specify that "public interface Streamable" should extend java.io.Serializable, since the holder classes extend from that as well.