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 6529 Details for
Bug 45433
Bug7 (and counting ;-): hundretAssignmentsToFinalVariable()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Compile fine using Eclipse compiler. It should report an error
X.java (text/plain), 402 bytes, created by
Olivier Thomann
on 2003-10-23 08:25:30 EDT
(
hide
)
Description:
Compile fine using Eclipse compiler. It should report an error
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2003-10-23 08:25:30 EDT
Size:
402 bytes
patch
obsolete
>public class X { >/** > * hundretAssignmentsToFinalVariable() > * Javac reports: > * "variable iCount might be assigned in loop" > */ >public static void hundretAssignmentsToFinalVariable( > final boolean bStop, > final String s // >) { > final int iCount; > for (int i = 0; true; i++) { > iCount = i; > if (i < 100) { > continue; > } else { > break; > } > } > System.out.println(iCount); >} >}
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 Raw
Actions:
View
Attachments on
bug 45433
: 6529