changeset 14902:c1d3b72824ea

6949753: [TEST BUG]: java/awt/print/PageFormat/PDialogTest.java needs update by removing a infinite loop Reviewed-by: jdv
author prr
date Mon, 18 May 2020 17:16:29 -0700
parents caf8b22e4fd7
children c3569076f6c6
files test/java/awt/print/PageFormat/PDialogTest.java
diffstat 1 files changed, 0 insertions(+), 44 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/print/PageFormat/PDialogTest.java	Fri Dec 11 12:33:16 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 4855801
- * @summary Changing margins in the page format does not have any effect
- * @run main/manual PDialogTest
- */
-import java.awt.print.*;
-import javax.print.attribute.*;
-import javax.print.attribute.standard.*;
-
-public class PDialogTest
-{
-
-    public static void main(String[] args) {
-        PageFormat page=new PageFormat();
-        while(true){
-            page=java.awt.print.PrinterJob.getPrinterJob().pageDialog(page);
-        }
-
-    }
-}