https://bz.apache.org/bugzilla/show_bug.cgi?id=65715
--- Comment #3 from PJ Fanning <[email protected]> --- I ran a test in jdoodle and break does leave the for loop early. ``` import java.util.*; public class MyClass { public static void main(String args[]) { ArrayList<String> strs = new ArrayList<>(); strs.add("aon"); strs.add("dó"); strs.add("trí"); for(String str : strs) { System.out.println(str); break; } } } ``` In this case, only `aon` gets printed. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
