8055393: [Testbug] Some tests are being executed and fail under profiles
Reviewed-by: mchung, dholmes
Contributed-by: evgeniya.stepanova@oracle.com
--- a/jdk/test/TEST.groups Thu Aug 21 13:09:28 2014 +0200
+++ b/jdk/test/TEST.groups Thu Aug 21 22:07:14 2014 -0700
@@ -343,6 +343,7 @@
java/io/Serializable/serialver \
java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java \
java/lang/invoke/lambda/LambdaAccessControlTest.java \
+ java/lang/invoke/lambda/LambdaAsm.java \
java/lang/System/MacEncoding/TestFileEncoding.java \
java/net/URLClassLoader/closetest/GetResourceAsStream.java \
java/util/Collections/EmptyIterator.java \
@@ -397,6 +398,11 @@
java/text/Bidi/Bug7051769.java \
javax/crypto/Cipher/CipherStreamClose.java \
javax/management/monitor/AttributeArbitraryDataTypeTest.java \
+ javax/management/mxbean/AmbiguousConstructorTest.java \
+ javax/management/mxbean/ExceptionDiagnosisTest.java \
+ javax/management/mxbean/LeakTest.java \
+ javax/management/mxbean/MXBeanTest.java \
+ javax/management/mxbean/PropertyNamesTest.java \
jdk/lambda/vm/InterfaceAccessFlagsTest.java \
sun/misc/URLClassPath/ClassnameCharTest.java
@@ -492,6 +498,7 @@
sun/security/acl \
sun/security/jgss \
sun/security/krb5 \
+ java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java \
java/lang/System/MacEncoding/TestFileEncoding.java \
java/nio/channels/AsynchronousSocketChannel/Leaky.java \
java/security/PermissionCollection/Concurrent.java \
@@ -499,6 +506,8 @@
java/security/cert/GetInstance.java \
java/util/logging/DrainFindDeadlockTest.java \
java/util/logging/LoggingMXBeanTest.java \
+ java/util/logging/TestLogConfigurationDeadLock.java \
+ java/util/logging/TestLoggerBundleSync.java \
sun/net/www/http/KeepAliveCache/B5045306.java \
sun/security/provider/PolicyFile/Alias.java \
sun/security/provider/PolicyFile/Comparator.java \
@@ -550,6 +559,7 @@
java/lang/PrimitiveSumMinMaxTest.java \
java/lang/String/StringJoinTest.java \
java/lang/Thread/StopThrowable.java \
+ java/net/Authenticator/B4769350.java \
java/net/Authenticator/Deadlock.java \
java/net/CookieHandler/LocalHostCookie.java \
java/net/CookieHandler/CookieManagerTest.java \
@@ -600,7 +610,6 @@
java/util/zip/ZipFile/StreamZipEntriesTest.java \
java/util/zip/ZipFile/DeleteTempJar.java \
javax/crypto/Cipher/CipherStreamClose.java \
- sun/misc/URLClassPath/ClassnameCharTest.java \
sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java \
sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java
--- a/jdk/test/java/lang/ProcessBuilder/InheritIO/InheritIO.sh Thu Aug 21 13:09:28 2014 +0200
+++ b/jdk/test/java/lang/ProcessBuilder/InheritIO/InheritIO.sh Thu Aug 21 22:07:14 2014 -0700
@@ -36,9 +36,12 @@
exit 1
fi
+if [ "x${COMPILEJAVA}" = "x" ]; then
+ COMPILEJAVA="${TESTJAVA}"
+fi
JAVA="${TESTJAVA}/bin/java"
-JAVAC="${TESTJAVA}/bin/javac"
+JAVAC="${COMPILEJAVA}/bin/javac"
cp -f ${TESTSRC}/InheritIO.java .