Summary: | VerifyError : A .class file exported from VAJ does not run in JDK 1.2.2 (1GPPET0) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2002-01-30 13:00:21 EST
Bug is due to the fact we share all saveValueVariables, and in case of nested finally blocks, it clearly shouldn't occur. Simpler test case: class VerifyEr { protected boolean err(boolean b) { try { System.out.print("SUCC"); } catch (Throwable t) { return b; } finally { try { if (b) { return b; } } finally { System.out.println("ESS"); } } return false; } public static void main(String[] args) { new VerifyEr().err(false); } } should print SUCCESS and doesn't Fixed in latest, added regression test. |