Review Request 8238195: Lookup::defineClass should link the class to match the specification
Alan Bateman
Alan.Bateman at oracle.com
Wed Apr 1 19:53:36 UTC 2020
On 01/04/2020 19:43, Mandy Chung wrote:
> The spec of `Lookup::defineClass` specifies to throw linkage error
> including `VerifyError` and JDK-8238358 fixes the implementation to
> match the spec [1].
>
> This patch updates the spec to make it clear as proposed in the
> CSR:https://bugs.openjdk.java.net/browse/JDK-8240338. Also add a new
> test case to verify that `defineClass` does link a class.
>
> Webrev at:
> http://cr.openjdk.java.net/~mchung/jdk15/webrevs/8238195/webrev.00/
The javadoc line and addition test look good.
-Alan
More information about the core-libs-dev
mailing list