WAI
Status Update
Comments
sg...@google.com <sg...@google.com> #2
Automated by Blunderbuss job workspace-devrel-public-issue-tracker-blunderbuss-autoassigner for config assign for component 191640.
No update yet.
Description
Consider code like this:
When compiled with javac with nest access the class
TestClass
will have thisNestMembers
attribute:When building a library with this code it seems obvious that the class
TestClass$SourceRetentionAnnotation
can be removed. However that breaks desugaring as that requires all classes in a nest to be present.There is no way see from the
NestMembers
attribute (or from other attributes) thatTestClass$SourceRetentionAnnotation
can have no effect on desugaring.