RMI/IIOP and Enums

Esmond Pitt <[email protected]> Thu, 15 Jun 2006 16:02:03 +1000
Newsgroups gmane.comp.java.sun.rmi
Organization Melbourne Software Company
Message-ID <20060615055840.YYQH5695.omta02ps.mx.bigpond.com@toshibakx1wgjb>
It seems that the singleton properties of JDK 1.5 Enums which underly its
final equals() method are preserved by RMI/JRMP but not by RMI/IIOP: it
delivers duplicate instances.

Is this a known problem? Test program available here.

Esmond Pitt

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html