Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333832

Summary: Uddi4jHelper produced different byte codes with new JDT compiler due to unused variable
Product: [WebTools] WTP Webservices Reporter: David Williams <david_williams>
Component: wst.wsAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 333678    
Attachments:
Description Flags
proposed fix none

Description David Williams CLA 2011-01-10 01:34:02 EST
Created attachment 186356 [details]
proposed fix

Similar to other bugs in in bug 333678 ... the "i" in a for statement such as 

for(int i =0;it.hasNext();i++){

is now optimized out ... 

resulting in different byte codes produced for same version/qualifier. 

So, we need to change version/qualifier ... I'd suggest fixing it too ... as in attached patch.
Comment 1 David Williams CLA 2011-02-26 18:57:21 EST
I went ahead and applied and released this fix to HEAD.