Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333834 - JSFTestUtil produces different byte codes with new compiler due to unused variables
Summary: JSFTestUtil produces different byte codes with new compiler due to unused var...
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 333678
  Show dependency tree
 
Reported: 2011-01-10 01:54 EST by David Williams CLA
Modified: 2017-12-19 13:26 EST (History)
1 user (show)

See Also:


Attachments
suggested fix (1009 bytes, patch)
2011-01-10 01:54 EST, David Williams CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-01-10 01:54:19 EST
Created attachment 186359 [details]
suggested fix

Similar to other bugs in 333678 ... there is an unused 'curPos' variable in loadFromInputStream that is optimized out with new compiler. 

I'd suggest fixing code (in maintenance stream and head) ... not sure what to recommend about version ... I didn't look to see if needs to be incremented or if it already has been ... but, patch attached to be explicit about unused variable.
Comment 1 Ian Trimble CLA 2011-01-10 18:58:30 EST
Patch committed to 3.3 stream at 2011/01/10 03:57PM PDT.
Comment 2 Ian Trimble CLA 2011-01-10 19:06:50 EST
Patch committed to 3.2.3 stream at 2011/01/10 04:06PM PDT.
Comment 3 Eclipse Genie CLA 2017-12-18 20:16:43 EST
New Gerrit change created: https://git.eclipse.org/r/114264