-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta
-
generic, sparc
-
generic, solaris_2.6
-
Verified
import java.util.*;
public class Junk {
public static void main(String args[]) {
Collections.rotate(new ArrayList(), 42);
Collections.rotate(new LinkedList(), 666);
}
}
public class Junk {
public static void main(String args[]) {
Collections.rotate(new ArrayList(), 42);
Collections.rotate(new LinkedList(), 666);
}
}
- duplicates
-
JDK-4401385 Collections.rotate() incorrectly raises ArithmeticException
-
- Closed
-