RFR (M): 8203881: Print errornous size in NegativeArraySizeException

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon May 28 12:10:37 UTC 2018


Hi David, 

thanks for having a look!

> First I have corrected the typo in the synopsis: errornous -> erroneous
Thanks!

> Second, can you not use the err_msg function instead of the explicit
> ResourceMark + stringStream code?
Yes, that's much better. New webrev:
http://cr.openjdk.java.net/~goetz/wr18/8203881-exMsg-NegativeArraySize/02

Best regards,
  Goetz.



> 
> Thanks,
> David
> 
> On 28/05/2018 8:40 PM, Lindenmaier, Goetz wrote:
> > Hi,
> >
> > This change adds printing the array size in case of negative array size
> exception.
> > Please review.
> > http://cr.openjdk.java.net/~goetz/wr18/8203881-exMsg-
> NegativeArraySize/01/
> >
> > Thanks,
> >    Goetz.
> >


More information about the hotspot-runtime-dev mailing list