RFR (S): 8019192: StringIndexOutOfBoundsException: in Class.getSimpleName()

John Rose john.r.rose at oracle.com
Fri Sep 27 00:36:45 UTC 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

More information about the core-libs-dev mailing list