Community
Participate
Working Groups
Build Identifier: 20110916-0149 Bug 239066 added a compiler warning/error for "Overriding a Synchronized Method with a Non-synchronized Method". Some code is still thread-safe when being flagged. There needs to be a SuppressWarnings and quick fix to disable the warning for a particular method. Reproducible: Always Steps to Reproduce: 1. Implement the code to reproduce bug 239066 2. Note that there is no quick fix or SuppressWarnings to disable the warning/error
Hmm yes the fix missed out the SuppressWarnings token.
The batch compiler option and suppress warning token for the warning is 'syncOverride'. Released fix into master via commit 9fb195845736fa0e0f05bd20b2d3dd774c933577. Updated the batch compiler doc and released into master via commit 2505474764318d9258f3aacf2d2fcdd0129adbd9
(In reply to comment #2) > Released fix into master via commit 9fb195845736fa0e0f05bd20b2d3dd774c933577. This is for eclipse.jdt.core repo > Updated the batch compiler doc and released into master via commit > 2505474764318d9258f3aacf2d2fcdd0129adbd9 This is for eclipse.platform.common repo.
syncOverride is the suppress warning token that has been added as part of this. Other tokens which had multiple words are in the form of x-y. The naming should be consistent.
(In reply to comment #4) > syncOverride is the suppress warning token that has been added as part of this. > Other tokens which had multiple words are in the form of x-y. The naming should > be consistent. Ok I can take care of that for the next build.
Reopening to get this fixed.
Fixed in master with commit 7d0f5fb856e5251bb1177bdff2870292addda9b2
I just noticed that this required a doc update too. Done via commit 3f6cba96b4ca937cc82898c7830eeb1fde9ac00d
Verified for 3.8M5 using build I20120124-2000