11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23 import java.awt.Frame;
24 import java.io.File;
25 import java.io.IOException;
26 import java.io.InputStream;
27 import java.util.concurrent.TimeUnit;
28
29 /**
30 * @test
31 * @bug 8081019
32 * @summary Check peer to null in CPlatformWindow.checkZoom() method
33 * @author Alexandr Scherbatiy
34 */
35 public class bug8081019 {
36
37 private static final String RUN_PROCESS = "RUN_PROCESS";
38 private static final String RUN_TEST = "RUN_TEST";
39
40 public static void main(String[] args) throws Exception {
41 String command = RUN_PROCESS;
42
43 if (0 < args.length) {
44 command = args[0];
45 }
46
47 switch (command) {
48 case RUN_PROCESS:
49 runProcess();
50 break;
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23 import java.awt.Frame;
24 import java.io.File;
25 import java.io.IOException;
26 import java.io.InputStream;
27 import java.util.concurrent.TimeUnit;
28
29 /**
30 * @test
31 * @key headful
32 * @bug 8081019
33 * @summary Check peer to null in CPlatformWindow.checkZoom() method
34 * @author Alexandr Scherbatiy
35 */
36 public class bug8081019 {
37
38 private static final String RUN_PROCESS = "RUN_PROCESS";
39 private static final String RUN_TEST = "RUN_TEST";
40
41 public static void main(String[] args) throws Exception {
42 String command = RUN_PROCESS;
43
44 if (0 < args.length) {
45 command = args[0];
46 }
47
48 switch (command) {
49 case RUN_PROCESS:
50 runProcess();
51 break;
|