hg: jdk9/hs/hotspot: 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set

harold.seigel at oracle.com harold.seigel at oracle.com
Mon Mar 6 16:31:39 UTC 2017


Changeset: 932b4ec7397f
Author:    hseigel
Date:      2017-03-06 09:45 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/932b4ec7397f

8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
Summary: If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags
Reviewed-by: dholmes, acorn, lfoltan, gtriantafill

! src/share/vm/classfile/classFileParser.cpp
! src/share/vm/classfile/classFileParser.hpp
+ test/runtime/constantPool/ACCModule52.java
+ test/runtime/constantPool/ConstModule.java



More information about the jdk9-all-changes mailing list