JDK-6993483 : Documentation improvement for enum constants used over RMI-IIOP.
  • Type: Enhancement
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 6u7
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-10-20
  • Updated: 2018-02-14
  • Resolved: 2018-02-14
Related Reports
Relates :  
Description
My customer is receiving the following message after upgrading to 6u7 or upper:

org/omg/CORBA/MARSHAL: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: can't deserialize enum vmcid: 0x0 minor code: 0 completed: No 

We should document the following adviced I found in case 66005672:

Customer need to take care those type in their code, use other acceptable type to substitute Enum in RMI-IIOP. He should use a class to represent the Enum type and within the class use static integers to represent the Enum type value. Then when serialize, use the representation not the Enum. Enum is not recognized in serialization in RMI-IIOP.

Comments
The Java EE and CORBA modules have been removed from JDK 11. There are no plans to fix this issue.
14-02-2018