easymock / easymock/objenesis

Objenesis Java 11 compatibility issues

Open
#70 8 comments 0 reactions 1 assignee Claimed by @henri-tremblay View on GitHub
enhancement
Dominant language
Java
Stars
630
Forks
95
Avg merge
5h 6m
Merged PRs (30d)
9

Description

Running a jdeps scan from a JDK 11 like:

\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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.