changeset 4676:7f3b478e628b

7067784: TEST: move testcase for # 7023640 from open to close in 7u1 Reviewed-by: flar
author asaha
date Fri, 15 Jul 2011 10:25:28 -0700
parents a904aa0c232c
children 2baf612764d2
files test/sun/java2d/loops/TransformOverflow.java
diffstat 1 files changed, 0 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/java2d/loops/TransformOverflow.java	Thu Jul 14 10:02:50 2011 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-/**
- * @test %W% %E%
- * @bug 7023640
- * @summary Checks for malloc overflow when we transform an image
- *          into a really tall destination
- * @run main/othervm/timeout=5000 -Xmx1g TransformOverflow
- */
-
-import java.awt.image.BufferedImage;
-import java.awt.Graphics2D;
-
-public class TransformOverflow {
-    public static void main(String argv[]) {
-        test(1, 0x20000000);
-        System.out.println("done");
-    }
-
-    public static void test(int w, int h) {
-        BufferedImage bimg =
-            new BufferedImage(w, h, BufferedImage.TYPE_BYTE_GRAY);
-        Graphics2D g2d = bimg.createGraphics();
-        g2d.scale(1.0, Math.PI);
-        g2d.shear(0.0, 1.0);
-        try {
-            g2d.drawImage(bimg, 0, 0, null);
-        } catch (Throwable t) {
-            t.printStackTrace();
-        }
-    }
-}