Summary: | Unreachable goto for try combinations (1FUST9E) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 3.3 M7 | ||
Hardware: | All | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Philipe Mulet
2001-10-10 22:50:54 EDT
PRODUCT VERSION: 11b(5/11/00 2:22:56 PM) Defer reopening Olivier - is this still an issue ? Especially in the light of stackmap tables. Not a problem anymore. The actual code gen is: 0 getstatic System.out : PrintStream [16] 3 ldc <String "xxx"> [22] 5 invokevirtual PrintStream.println(String) : void [24] 8 goto 28 11 astore_2 12 jsr 17 15 aload_2 16 athrow 17 astore_1 18 getstatic System.out : PrintStream [16] 21 ldc <String "xxx"> [22] 23 invokevirtual PrintStream.println(String) : void [24] 26 ret 1 28 jsr 17 31 goto 53 34 astore 4 36 jsr 42 39 aload 4 41 athrow 42 astore_3 43 getstatic System.out : PrintStream [16] 46 ldc <String "xxx"> [22] 48 invokevirtual PrintStream.println(String) : void [24] 51 ret 3 53 jsr 42 56 return Exception Table: [pc: 0, pc: 11] -> 11 when : any [pc: 28, pc: 31] -> 11 when : any [pc: 0, pc: 34] -> 34 when : any [pc: 53, pc: 56] -> 34 when : any This might be a consequence of the change you made to remove dead code a while ago. Closing as WORKSFORME? Likely yes, pls close as worksforme, and add a regression test. Added org.eclipse.jdt.core.tests.compiler.regression.TryStatementTest#test058 Verified for 3.3 M7 using build I20070418-1012 (and source code v_751). Wrong build id: Verified for 3.3 M7 using build I20070418-1012 (and source code v_751). |