Issue Details (XML | Word | Printable)

Key: GROOVY-2485
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Theodorou
Reporter: Ken Barclay
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

A labelled continue statement does not appear to correctly imitate its Java counterpart.

Created: 09/Jan/08 02:16 PM   Updated: 17/Jan/08 02:11 PM
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.5.2, 1.6-rc-2

Time Tracking:
Not Specified

File Attachments: 1. Java Source File Ex21.java (0.8 kB)
2. Text File Example21.groovy (0.6 kB)

Environment: Win XP, jdk1.6.0_03, Groovy v1.5.0


 Description  « Hide
The labelled continue statement in the acoompanying Groovy code cycles indefinitely, seemingly without the control variable ever changing from zero. The Java implementation appears to work as expected.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jochen Theodorou added a comment - 17/Jan/08 02:11 PM
fixed