How to Configure Instantiation of Java SE 7 Indirect Collection Classes in Java SE 8
Last updated on FEBRUARY 24, 2016
Applies to:Oracle TopLink - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Using EclipseLink 2.6.1, an error occurs when de-serializing objects containing references to EclipseLink indirect collection objects on a J2SE 7 JVM, which were originally instantiated and serialized on a J2SE 8 JVM.
EclipseLink 2.6.1 is using different code for IndirectList class based on the java version.
- Java8 environment uses:
- Java7 environment uses:
This is causing problems while de-serializing objects.
How to use org.eclipse.persistence.internal.indirection.IndirectList for both Java versions ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms