RFR (S) 8151223: String concatenation fails with implicit toString() on package-private class

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Mar 8 11:12:37 UTC 2016

On 07/03/16 22:45, Aleksey Shipilev wrote:
> I don't think it was redundant: Object.class passes isAccessible check,
> and we exit the loop either with a concrete subclass of Object, or
> Object itself. But I agree we may want to check for Tag.NONE too.
Sorry - you are obviously right here - Object is always accessible, so 
your code was indeed correct. Feel free to change it back if you like!


More information about the compiler-dev mailing list