Community
Participate
Working Groups
3.2 M3 test pass Now that jdt-ui gave us the clean-up action to in one sweep remove any unsed members from a CU (or any java element), it would be very nice if the compiler would detect the closure of unused members. E.g. a private member would be flagged as unused if it has no references or only references from other unused members (including cycles...). Currently, only members without (read) references are found, and I have to repeatedly apply the clean up until no more unused members are found.
dup of bug 112561 in a way, but that only mentions cycles, not the closure problem (which really is only a problem now that you expect everything to be gone after clean-up has run).
I suggest merging with bug 112561. Closure is what I really had in mind.