hg: jdk9/hs/hotspot: 8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Tue Jun 7 20:40:40 UTC 2016


Changeset: 60b4f0442564
Author:    coleenp
Date:      2016-06-07 15:34 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/60b4f0442564

8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure
Summary: Disallow // in class file names during parsing and throw ClassNotFoundException
Reviewed-by: sspitsyn, rehn, gtriantafill

! src/share/vm/classfile/classFileParser.cpp
+ test/runtime/classFileParserBug/TestBadClassName.java
+ test/runtime/classFileParserBug/UseBadInterface1.jcod
+ test/runtime/classFileParserBug/UseBadInterface2.jcod
+ test/runtime/classFileParserBug/p1/BadInterface1.jcod
+ test/runtime/classFileParserBug/p1/BadInterface2.jcod



More information about the jdk9-hs-changes mailing list