hg: jdk9/hs/hotspot: 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags

harold.seigel at oracle.com harold.seigel at oracle.com
Tue Feb 21 16:07:53 UTC 2017


Changeset: fcc911c59d4c
Author:    hseigel
Date:      2017-02-21 09:53 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/fcc911c59d4c

8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Summary: Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception
Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill

! src/share/vm/classfile/classFileParser.cpp
+ test/runtime/classFileParserBug/AccModuleTest.java
+ test/runtime/classFileParserBug/BadAccModInrClss.jcod
+ test/runtime/classFileParserBug/BadAccModule.jcod
! test/runtime/modules/acc_module.jcod



More information about the jdk9-all-changes mailing list