RFR (S): 8019192: StringIndexOutOfBoundsException: in Class.getSimpleName()
John Rose
john.r.rose at oracle.com
Thu Sep 26 17:36:45 PDT 2013
On Sep 26, 2013, at 2:46 PM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
> The problem I have with this is that some people might think the local variable is the instance field. IDEs help here because they usually highlight local variables and instance fields in different colors. How about this:
>
> http://cr.openjdk.java.net/~twisti/8019192/webrev.03/
Yes, that's good. Thanks for untangling this. Ship it.
(I also tried the "final" keyword on the hoisted guy, and NetBeans was still picky about it.)
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130926/5b0af4de/attachment.html
More information about the hotspot-compiler-dev
mailing list