RFR: 8170595: Optimize Class.isAnonymousClass

Mandy Chung mandy.chung at oracle.com
Thu Dec 1 18:21:49 UTC 2016


> On Dec 1, 2016, at 9:52 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
> 
> Hi,
> 
> good suggestion, this tidies up a bit while not affecting score:
> 
> http://cr.openjdk.java.net/~redestad/8170595/webrev.02

I like this better.  It may be useful to add a private isTopLevel Class() for  getSimpleBinaryName to call that will benefit getSimpleName and isMemberClass?

Mandy


More information about the core-libs-dev mailing list