8055393: Some tests added to the TEST.group to exclude execution on inappropriate compact profiles

Evgeniya Stepanova evgeniya.stepanova at oracle.com
Tue Aug 19 12:58:51 UTC 2014


Hi all,

Could you please review fix for 8055393

Problem:Some tests are being executed and fail under profiles
Solution:
-test java/lang/ProcessBuilder/InheritIO/InheritIO.sh changed to use COMPILEJAVA (set by jtreg harness) javac instead of TESTJAVA (which is absent in profiles)
-java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java and some of the java/util/logging/ tests use  java.lang.management.ManagementFactory class to get deadlocked threads. Such tests are added to the needs_compact3 testgroup
-test java/lang/invoke/lambda/LambdaAsm.java check bytecode generation and use javac classes. Added to needs_jdk testgroup
-test java/net/Authenticator/B4769350.java uses com.sun.net.httpserver.HttpHandler class as base class for all testcases. Added to the needs_compact2 testgroup
-Some of the javax/management/mxbean tests uses java.beans.ConstructorProperties annotation. Such tests are added to the needs_jre test group
-test sun/misc/URLClassPath/ClassnameCharTest.java included in both needs_compact2 and needs_jre testgroups. Removed from needs_compact2 testgroup since it fails on compacts2-3
Testing: locally. Tests excluded as expected


In attachement diff against jdk8u-dev repo



More information about the core-libs-dev mailing list