You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Java 11 ReflectUtils.defineClass() uses the new MethodHandles.Lookup.defineClass(), this method uses the contextClass's classloader, instead of the loader argument.
This difference in behaviour in Java 8 and Java 11 sometimes produces unexpected errors (eg. java.lang.LinkageError: attempted duplicate class definition)