-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 6
-
Component/s: client-libs
The following test case sends the runtime into an infinite loop as of
Mustang b77:
import java.awt.geom.GeneralPath;
public class ContainsNaN {
public static void main(String argv[]) {
GeneralPath gp = new GeneralPath();
gp.moveTo(0, 0);
gp.quadTo(100, 0, 100, 100);
gp.contains(Double.NaN, Double.NaN);
}
}
Mustang b77:
import java.awt.geom.GeneralPath;
public class ContainsNaN {
public static void main(String argv[]) {
GeneralPath gp = new GeneralPath();
gp.moveTo(0, 0);
gp.quadTo(100, 0, 100, 100);
gp.contains(Double.NaN, Double.NaN);
}
}