< prev index next >

test/jdk/javax/management/loading/LibraryLoader/LibraryLoaderTest.java

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2004, 2015, 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.
*** 56,71 **** String osArch = System.getProperty("os.arch"); System.out.println("os.name=" + osArch); // Check for supported platforms: // ! // Solaris/SPARC and Windows/x86 // ! if ((!(osName.equals("SunOS") && osArch.equals("sparc"))) && ! (!(osName.startsWith("Windows") && osArch.equals("x86")))) { System.out.println( ! "This test runs only on Solaris/SPARC and Windows/x86 platforms"); System.out.println("Bye! Bye!"); return; } String libPath = System.getProperty("java.library.path"); --- 56,70 ---- String osArch = System.getProperty("os.arch"); System.out.println("os.name=" + osArch); // Check for supported platforms: // ! // Windows/x86 // ! if ((!(osName.startsWith("Windows") && osArch.equals("x86")))) { System.out.println( ! "This test runs only on Windows/x86 platforms"); System.out.println("Bye! Bye!"); return; } String libPath = System.getProperty("java.library.path");
< prev index next >