[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #4127] Java compiler bug (scoping for For loops)
From: |
nobody |
Subject: |
[Pnet-developers] [bug #4127] Java compiler bug (scoping for For loops) |
Date: |
Wed, 02 Jul 2003 15:08:41 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; Galeon) Gecko/20010901 |
=================== BUG #4127: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4127&group_id=353
Changes by: Gopal.V <address@hidden>
Date: Thu 07/03/2003 at 00:38 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
Summary | Java compiler bug | Java compiler bug (scoping
for For loops)
Dependent Bugs | | 3487
=================== BUG #4127: FULL BUG SNAPSHOT ===================
Submitted by: tetsuo Project: DotGNU Portable.NET
Submitted on: Sat 06/28/2003 at 09:24
Category: None Severity: 5 - Major
Bug Group: None Resolution: Fixed
Assigned to: None Status: Closed
Summary: Java compiler bug (scoping for For loops)
Original Submission: For the second for loop, the compiler throws
"ArraylistSample.java:18:
`i' is already declared in this scope", which it shouldn't since the
variable is within its proper scope.
public class ArraylistSample {
public static void main (String[] args) {
for (int i=0; i<10; i++) {
//bla
}
for (int i=0; i<10; i++) {
//bla
}
}
}
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4127&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bug #4127] Java compiler bug (scoping for For loops),
nobody <=