From: SourceForge.net <no...@so...> - 2004-11-08 06:05:33
|
Bugs item #1062245, was opened at 2004-11-08 01:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1062245&group_id=44253 Category: Interactions Group: Annoying Status: Open Resolution: None Priority: 5 Submitted By: Fernando Pereira (fcnpereira) Assigned to: Nobody/Anonymous (nobody) Summary: IllegalStateException in loop variable Initial Comment: > double[] a = {3.0, -1.0, -5.0, 4.0}; > double s = 0.0; > for (int i = 0; i < a.length; i++) for (int j = i; j > 0; j--) s += a[j]; IllegalStateException: i Other loops do not cause this. -- F ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1062245&group_id=44253 |