APAR status
Closed as program error.
Error description
Error Message: A persistence delegate is required to be provided by customer in IBMJDK6 when customer wants to encode an Enum Object, while without this delegate, SUNJDK can successfully encode it. . Stack Trace: Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... .
Local fix
Problem summary
This is a difference between SUNJDK and IBMJDK. For java5 of both IBMJDK and SUNJDK, it throws error messages: Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... Exception during encoding:java.lang.Exception: failed to write expression: Snippet$Element=Class.new(); Continue... But for java6 of SUNJDK, it successfully encodes the enum type object while IBMJDK still throws the error message.
Problem conclusion
This defect will be fixed in: 6.0.0 SR9 . An default persistence delegate is added to beans module for processing Enum type object. . To obtain the fix: Install build 20100920 or later
Temporary fix
Comments
APAR Information
APAR number
IZ85023
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-09-20
Closed date
2010-09-20
Last modified date
2010-09-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
20 September 2010