< prev index next >
test/jdk/javax/swing/LookAndFeel/8145547/DemandGTK.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2016, 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.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2020, 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.
*** 25,35 ****
@test
@summary Tests that GTK LaF is supported on solaris
regardless of jdk.gtk.version flag values.
@bug 8156121
@key headful
! @requires (os.family == "linux" | os.family == "solaris")
@run main/othervm -Djdk.gtk.version=2 DemandGTK
@run main/othervm -Djdk.gtk.version=3 DemandGTK
*/
import javax.swing.JFrame;
--- 25,35 ----
@test
@summary Tests that GTK LaF is supported on solaris
regardless of jdk.gtk.version flag values.
@bug 8156121
@key headful
! @requires os.family == "linux"
@run main/othervm -Djdk.gtk.version=2 DemandGTK
@run main/othervm -Djdk.gtk.version=3 DemandGTK
*/
import javax.swing.JFrame;
< prev index next >