Skip to content

Objenesis Java 11 compatibility issues #70

@ivo-atanasov

Description

@ivo-atanasov

Running a jdeps scan from a JDK 11 like:

<java_home>\bin\jdeps -jdkinternals objenesis-2.6.jar

, shows some references to sun.misc.Unsafe:

org.objenesis.instantiator.sun.UnsafeFactoryInstantiator -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
org.objenesis.instantiator.util.ClassDefinitionUtils -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
org.objenesis.instantiator.util.UnsafeUtils -> sun.misc.Unsafe

Which are present even in the newest version of the library - 3.0.1. Are there any plans for these to be removed/replaced in a newer version?

Thanks,
Ivo

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions