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 204355 Details for
Bug 256796
[compiler] dead code detection: "if (DEBUG) return;" should also be trivial IF stmt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch for NegativeTest
patchNegativeTest.txt (text/plain), 1.22 KB, created by
Ayushman Jain
on 2011-09-30 05:18:09 EDT
(
hide
)
Description:
patch for NegativeTest
Filename:
MIME Type:
Creator:
Ayushman Jain
Created:
2011-09-30 05:18:09 EDT
Size:
1.22 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests >Index: Eclipse Java Tests Compiler/org/eclipse/jdt/tests/compiler/regression/NegativeTest.java >=================================================================== >RCS file: /home/cvs/numbat/org.eclipse.jdt.core.tests/Eclipse Java Tests Compiler/org/eclipse/jdt/tests/compiler/regression/NegativeTest.java,v >retrieving revision 1.349 >diff -u -r1.349 NegativeTest.java >--- Eclipse Java Tests Compiler/org/eclipse/jdt/tests/compiler/regression/NegativeTest.java 18 Aug 2011 10:02:41 -0000 1.349 >+++ Eclipse Java Tests Compiler/org/eclipse/jdt/tests/compiler/regression/NegativeTest.java 30 Sep 2011 09:16:37 -0000 >@@ -11588,13 +11588,8 @@ > " int i = (false ? doit(\"0\") : doit(\"1\")); \n" + > " ^^^^^^^^^\n" + > "Dead code\n" + >- "----------\n" + >- "10. WARNING in X.java (at line 77)\n" + >- " doit(obj); //this is conditionnally unreachable code \n" + >- " ^^^^^^^^^\n" + >- "Dead code\n" + >- "----------\n" + >- "11. WARNING in X.java (at line 91)\n" + >+ "----------\n" + >+ "10. WARNING in X.java (at line 91)\n" + > " doit(obj); //this is DEFINITELY unreachable code \n" + > " ^^^^^^^^^\n" + > "Dead code\n" +
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 256796
:
204316
| 204355