Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 51055 Details for
Bug 159021
[compiler] Unused locals initialisation is optimized out when it is a single name reference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression tests updated
patch_159021_tests.txt (text/plain), 8.84 KB, created by
Olivier Thomann
on 2006-09-27 21:20:35 EDT
(
hide
)
Description:
Regression tests updated
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-09-27 21:20:35 EDT
Size:
8.84 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/BooleanTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BooleanTest.java,v >retrieving revision 1.10 >diff -u -r1.10 BooleanTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/BooleanTest.java 20 Jun 2006 13:24:32 -0000 1.10 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/BooleanTest.java 28 Sep 2006 01:23:27 -0000 >@@ -567,18 +567,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_1\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_1\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >@@ -624,18 +626,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_1\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_1\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >@@ -681,18 +685,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_1\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_1\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >@@ -867,18 +873,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_0\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_0\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >@@ -924,18 +932,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_0\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_0\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n" + >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n" + > "}"; > > try { >@@ -982,18 +992,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_0\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_0\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >@@ -1039,18 +1051,20 @@ > " 0 ldc2_w <Long -26> [18]\n" + > " 3 lstore_1 [l11]\n" + > " 4 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + >- " 7 iconst_0\n" + >- " 8 invokevirtual java.io.PrintStream.println(boolean) : void [26]\n" + >- " 11 return\n" + >+ " 7 getstatic X.f0 : float [26]\n" + >+ " 10 pop\n" + >+ " 11 iconst_0\n" + >+ " 12 invokevirtual java.io.PrintStream.println(boolean) : void [28]\n" + >+ " 15 return\n" + > " Line numbers:\n" + > " [pc: 0, line: 6]\n" + > " [pc: 4, line: 8]\n" + > " [pc: 7, line: 9]\n" + >- " [pc: 8, line: 8]\n" + >- " [pc: 11, line: 10]\n" + >+ " [pc: 12, line: 8]\n" + >+ " [pc: 15, line: 10]\n" + > " Local variable table:\n" + >- " [pc: 0, pc: 12] local: args index: 0 type: java.lang.String[]\n" + >- " [pc: 4, pc: 12] local: l11 index: 1 type: long\n"; >+ " [pc: 0, pc: 16] local: args index: 0 type: java.lang.String[]\n" + >+ " [pc: 4, pc: 16] local: l11 index: 1 type: long\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159021
:
51035
|
51055
|
51079