RFR 8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure

George Triantafillou george.triantafillou at oracle.com
Tue Jun 7 12:54:46 UTC 2016


Hi Coleen,

test/runtime/classFileParserBug/TestBadClassName.java.html

@bug reference is incorrect (should be 8158297):

27  * @bug 8159297

Looks good otherwise.  Thanks for fixing this!

-George

On 6/6/2016 6:56 PM, Coleen Phillimore wrote:
> Summary: Disallow // in class file names during parsing and throw 
> ClassFormatException
>
> Tested with selection resolution and jck tests.
>
> bug link https://bugs.openjdk.java.net/browse/JDK-8158297
> local webrev at 
> http://oklahoma.us.oracle.com/~cphillim/webrev/8158297.01/webrev
>
>
> Thanks,
> Coleen



More information about the hotspot-runtime-dev mailing list