Community
Participate
Working Groups
We've recently moved up to 3.4 M4 to compile our WTP code. I know some suppresswarnings stuff was fixed in that version, but we are still seeing this one 1. WARNING: UnusedWarningToken Unnecessary @SuppressWarnings("hiding") MetadataPackage.java : 682 : @SuppressWarnings("hiding") But "hiding" should be recognized, right? It's suggested by quick fix! Our current, overall compiler arguments are compilerArg=-showversion -encoding ISO-8859-1 -warn:-serial,raw,typeHiding,unchecked Am I missing something obvious? Or is this a bug? Is there a list of the supported suppressable warnings?
The warning doesn't tell you it is not recognized; it rather tells you it is not necessary (since no occurrence of the warning in your code, e.g. maybe mandated once upon a time, but now irrelevant). Now, there are still some issues near @SuppressWarnings, see bug 212884. Can you provide complete steps to reproduce ? Ideally a small standalone testcase would be the best.
Closing as WORKSFORME. David, please reopen if you have a test case that doesn't behave as expected.
Verified for 3.6M1