Review Request: JDK-8211921,,AssertionError in MethodHandles$Lookup.defineClass

Alan Bateman Alan.Bateman at
Wed Oct 10 20:41:40 UTC 2018

On 10/10/2018 21:38, Mandy Chung wrote:
> :
> This assertion is not strictly necessary and
> test/jdk/java/lang/invoke/ verifies these
> properties of the resulting Class.  I propose to remove this
> assertion.
An alternative is to just drop the PD check from the assertion, the 
check that defining class loader and package should never fail. Either 
is okay with me.


More information about the core-libs-dev mailing list