Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328526 - expected warning text needs adjusting
Summary: expected warning text needs adjusting
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 06:25 EDT by Stephan Herrmann CLA
Modified: 2010-10-25 14:05 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (2.21 KB, patch)
2010-10-25 09:29 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2010-10-23 06:25:52 EDT
In bug 185682 JDT/Core has changed the wording of a warning (in order to
give precise advice while the warning is now generated in more cases).

This change currently causes ScriptGenerationTest.testBug291527() to fail.
The expected problem text should be changed from
   "The local variable b is never read"
to
   "The value of the local variable b is not used"
Comment 1 Olivier Thomann CLA 2010-10-25 09:29:15 EDT
Created attachment 181634 [details]
Proposed fix

Could not test as I cannot run the test locally.
Comment 2 Andrew Niefer CLA 2010-10-25 14:05:52 EDT
patch released, Thanks Olivier