--- a/test/jdk/ProblemList.txt Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/ProblemList.txt Fri Jul 20 09:33:49 2018 +0200
@@ -39,15 +39,18 @@
#
# Shell tests are othervm by default.
#
-# List items are testnames followed by labels, all MUST BE commented
+# List items are testnames followed by labels, all MUST BE commented
# as to why they are here and use a label:
# generic-all Problems on all platforms
-# generic-ARCH Where ARCH is one of: sparc, sparcv9, x64, i586, etc.
+# generic-ARCH Where ARCH is one of: sparc, sparcv9, x64, i586, ppc64,
+# ppc64le, s390x etc.
# OSNAME-all Where OSNAME is one of: solaris, linux, windows, macosx, aix
# OSNAME-ARCH Specific on to one OSNAME and ARCH, e.g. solaris-amd64
# OSNAME-REV Specific on to one OSNAME and REV, e.g. solaris-5.8
#
-# More than one label is allowed but must be on the same line.
+# More than one label is allowed but must be on the same line comma seperated,
+# without spaces.
+# If there are several lines mentioning the same test, the last one is used.
#
#############################################################################
#
@@ -80,7 +83,7 @@
# Fixing the tests:
#
# Some tests just may need to be run with "othervm", and that can easily be
-# done my adding a @run line (or modifying any existing @run):
+# done by adding a @run line (or modifying any existing @run):
# @run main/othervm NameOfMainClass
# Make sure this @run follows any use of @library.
# Otherwise, if the test is a samevm possibility, make sure the test is
@@ -553,7 +556,9 @@
java/net/MulticastSocket/NoLoopbackPackets.java 7122846 macosx-all
java/net/MulticastSocket/SetLoopbackMode.java 7122846 macosx-all
-java/net/MulticastSocket/Test.java 7145658 macosx-all
+java/net/MulticastSocket/Test.java 7145658,8207404 macosx-all,aix-all
+java/net/MulticastSocket/JoinLeave.java 8207404 aix-all
+java/net/MulticastSocket/SetGetNetworkInterfaceTest.java 8207404 aix-all
java/net/DatagramSocket/SendDatagramToBadAddress.java 7143960 macosx-all
--- a/test/jdk/com/sun/jdi/EvalArraysAsList.sh Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/com/sun/jdi/EvalArraysAsList.sh Fri Jul 20 09:33:49 2018 +0200
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, 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
@@ -39,7 +39,7 @@
public class $classname {
public static void main(String[] args) {
java.util.List<Object> l = java.util.Arrays.asList(null, "a");
- System.out.println("java.util.Arrays.asList(null, \"a\") returns: " + l);
+ System.out.println("java.util.Arrays.asList(null, \\"a\\") returns: " + l);
return; // @1 breakpoint
}
}
--- a/test/jdk/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh Fri Jul 20 09:33:49 2018 +0200
@@ -122,7 +122,7 @@
fi
;;
- SunOS | Linux )
+ AIX | Linux | SunOS )
${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} \
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
--add-exports java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
--- a/test/jdk/sun/security/pkcs11/PKCS11Test.java Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/sun/security/pkcs11/PKCS11Test.java Fri Jul 20 09:33:49 2018 +0200
@@ -409,7 +409,11 @@
return nss3_version;
try {
- libfile = getNSSLibDir() + System.mapLibraryName(library);
+ String libdir = getNSSLibDir();
+ if (libdir == null) {
+ return 0.0;
+ }
+ libfile = libdir + System.mapLibraryName(library);
try (FileInputStream is = new FileInputStream(libfile)) {
byte[] data = new byte[1000];
int read = 0;
--- a/test/jdk/sun/security/pkcs11/Secmod/TestNssDbSqlite.java Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/sun/security/pkcs11/Secmod/TestNssDbSqlite.java Fri Jul 20 09:33:49 2018 +0200
@@ -26,6 +26,8 @@
* @test
* @bug 8165996
* @summary Test NSS DB Sqlite
+ * @comment There is no NSS on Aix.
+ * @requires os.family != "aix"
* @library ../
* @modules java.base/sun.security.rsa
* java.base/sun.security.provider
--- a/test/jdk/tools/launcher/SourceMode.java Fri Jul 20 01:23:38 2018 -0700
+++ b/test/jdk/tools/launcher/SourceMode.java Fri Jul 20 09:33:49 2018 +0200
@@ -21,7 +21,7 @@
* questions.
*/
-/*
+/**
* @test
* @bug 8192920 8204588
* @summary Test source mode
@@ -298,11 +298,11 @@
@Test
void testTerminalOptionInShebang() throws IOException {
starting("testTerminalOptionInShebang");
- if (skipShebangTest || isMacOSX || isSolaris) {
+ if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
// On MacOSX, we cannot distinguish between terminal options on the
// shebang line and those on the command line.
// On Solaris, all options after the first on the shebang line are
- // ignored.
+ // ignored. Similar on AIX.
log.println("SKIPPED");
return;
}
@@ -322,11 +322,11 @@
@Test
void testTerminalOptionInShebangAtFile() throws IOException {
starting("testTerminalOptionInShebangAtFile");
- if (skipShebangTest || isMacOSX || isSolaris) {
+ if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
// On MacOSX, we cannot distinguish between terminal options in a
// shebang @-file and those on the command line.
// On Solaris, all options after the first on the shebang line are
- // ignored.
+ // ignored. Similar on AIX.
log.println("SKIPPED");
return;
}
@@ -349,11 +349,11 @@
@Test
void testMainClassInShebang() throws IOException {
starting("testMainClassInShebang");
- if (skipShebangTest || isMacOSX || isSolaris) {
+ if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
// On MacOSX, we cannot distinguish between a main class on the
// shebang line and one on the command line.
// On Solaris, all options after the first on the shebang line are
- // ignored.
+ // ignored. Similar on AIX.
log.println("SKIPPED");
return;
}