Generation of NestHost and NestMembers attributes using javac?

Ess Kay s.2016.kay at
Tue Jul 3 02:50:14 UTC 2018

Hi Maurizio,

> JEP 181 was integrated On Sat 23rd of June
Thank you. I see build 20 (2018/6/29) is now available.  I should have
been patient for one more day ;).

As far as I can determine, a nest member class is always an inner
class of its nest host class.  That is, if there is a NestHost or
NestMember attribute in a class then there will always also be an
InnerClasses attribute.  Is that indeed the case?  If not then do you
have sample Java source that would result in a NestHost or NestMember
attribute being generated by javac without an InnerClasses attribute?

Best regards,

More information about the compiler-dev mailing list