< prev index next >

test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2004, 2014, 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) 2004, 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.
*** 113,123 **** public static void main(String[] args) throws Exception { useGsettings = System.getProperty("useGsettings").equals("true"); tool = System.getProperty("tool"); String osName = System.getProperty("os.name"); ! if (!"Linux".equals(osName) && !"SunOS".equals(osName)) System.out.println("This test need not be run on this platform"); else new rfe4758438().doTest(); } --- 113,123 ---- public static void main(String[] args) throws Exception { useGsettings = System.getProperty("useGsettings").equals("true"); tool = System.getProperty("tool"); String osName = System.getProperty("os.name"); ! if (!"Linux".equals(osName)) System.out.println("This test need not be run on this platform"); else new rfe4758438().doTest(); }
< prev index next >