Summary: | JACKS: VerifyError, because opcode jsr_w not used | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | philippe_mulet | ||||||
Version: | 2.1 | ||||||||
Target Milestone: | 2.1 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 2000 | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Olivier Thomann
2002-11-13 12:08:55 EST
Created attachment 2399 [details]
Test case
Compile this code.
Created attachment 2400 [details]
Fix for this problem
Fix proposal.
Need further testing, but it should work quite well. I used the same approach than for goto_w. Do we need the extra method ? Isn't there a simpler way to just target the field ? I wanted to keep the code in a method, but we can inline it if necessary. We should realize that this almost never happen. Only in compiler tests :-), so we don't need to "optimize" such a case. Change summary. Fixed and released in 2.1 stream. Regression test added. Verified. |