How to Configure Instantiation of Java SE 7 Indirect Collection Classes in Java SE 8
(Doc ID 2107847.1)
Last updated on MARCH 01, 2019
Applies to:
Oracle TopLink - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Goal
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:
org.eclipse.persistence.internal.indirection.jdk8.IndirectList
- Java7 environment uses:
org.eclipse.persistence.internal.indirection.IndirectList
This is causing problems while de-serializing objects.
How to use org.eclipse.persistence.internal.indirection.IndirectList for both Java versions ?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |