-
Bug
-
Resolution: Fixed
-
P2
-
6
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);
}
}