Bug 126326 - [api] all supported SuppressWarning tokens
Summary: [api] all supported SuppressWarning tokens
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Maxime Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 126317
  Show dependency tree
 
Reported: 2006-02-03 06:09 EST by Martin Aeschlimann CLA
Modified: 2006-02-14 08:53 EST (History)
0 users

See Also:


Attachments
Patch plus test case (8.68 KB, patch)
2006-02-08 05:11 EST, Maxime Daniel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2006-02-03 06:09:36 EST
20060204

Bug 126317 suggests to add a quick fix that can correct mispelled tokens in SuppressWarning.

For that I would need to know all existing SuppressWarning tokens.

e.g. CorrectionEngine.getAllWarningTokens()
Comment 1 Maxime Daniel CLA 2006-02-08 05:11:25 EST
Created attachment 34331 [details]
Patch plus test case

Tentative implementation for the suggested API.
Also fixes a bug into CompilerOptions#warningTokenFromIrritant.
Comment 2 Maxime Daniel CLA 2006-02-08 05:49:38 EST
Released in HEAD after check with David (uses of CorrectionEngine).

Verification: check CorrectionEngine#getAllWarningTokens.
See also new regression test class CompilerInvocationTests, test #1.
Comment 3 Jerome Lanneluc CLA 2006-02-14 08:53:46 EST
Verified for 3.2 M5 using build I20060214-0010