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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Tue Jun 7 08:39:11 UTC 2016


Coleen,

A minor comment:
   The comment at the line 4702 needs a small update:
      or trailing '/'  => ', leading or trailing '/'
   Q1: Does the comment at the line 4675 needs an update too?


Otherwise, it looks good to me.

Thanks,
Serguei

On 6/6/16 15:56, 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