RFR 8174725: JVM should throw ClassDefNotFoundError if ACC_MODULE is set in access_flags

George Triantafillou george.triantafillou at oracle.com
Tue Feb 14 15:14:39 UTC 2017


Hi Harold,

Looks good.

-George

On 2/14/2017 9:52 AM, harold seigel wrote:
> Hi,
>
> Please review this small change to throw a NoClassDefFoundError 
> exception, for class file versions >= 53, if a class's access_flags 
> have ACC_MODULE set.  This behavior will be required in the upcoming 
> JVM-9 Spec.
>
> Open Web: 
> http://cr.openjdk.java.net/~hseigel/bug_8174725/webrev/index.html
>
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8174725
>
>
> The fix was tested with JPRT, the hotspot, java/lang, java/util, 
> java/io, JFR, and other JTReg tests, the JCK lang and VM tests, RBT 
> tier2 - tier5 tests on LinuxX64, and the colocated and non-colocated 
> NSK tests.
>
> Thanks, Harold
>



More information about the hotspot-runtime-dev mailing list