< prev index next >
test/java/awt/image/multiresolution/MultiresolutionIconTest.java
Print this page
@@ -26,12 +26,10 @@
* @bug 8150724 8151303
* @author a.stepanov
* @summary Check that correct resolution variants are chosen for icons
* when multiresolution image is used for their construction.
*
- * @requires (os.family != "mac")
- *
* @library ../../../../lib/testlibrary/
* @build ExtendedRobot
* @run main/othervm/timeout=240 -Dsun.java2d.uiScale=1 MultiresolutionIconTest
* @run main/othervm/timeout=240 -Dsun.java2d.uiScale=2 MultiresolutionIconTest
*/
@@ -225,13 +223,10 @@
dispose();
}
public static void main(String[] args) throws Exception {
- // TODO: remove is2x() check after JDK-8150844 fix
- if (is2x() != "2".equals(System.getProperty(SCALE))) { return; }
-
for (UIManager.LookAndFeelInfo LF: UIManager.getInstalledLookAndFeels()) {
System.out.println("\nL&F: " + LF.getName());
(new MultiresolutionIconTest(LF)).doTest();
}
}
< prev index next >