Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8055393

[Testbug] Some tests are being executed and fail under profiles

    Details

    • Resolved In Build:
      b29

      Backports

        Description

        -test java/lang/ProcessBuilder/InheritIO/InheritIO.sh use TESTJAVA javac(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 need to be added to the needs_compact3 testgroup
        -test java/lang/invoke/lambda/LambdaAsm.java check bytecode generation and use javac classes. Should be added to needs_jdk testgroup
        -test java/net/Authenticator/B4769350.java uses com.sun.net.httpserver.HttpHandler class as base class for all testcases. Should be added to the needs_compact2 testgroup
        -Some of the javax/management/mxbean tests uses java.beans.ConstructorProperties annotation. Such tests should be 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


        RULE java/lang/ProcessBuilder/InheritIO/InheritIO.sh ExitCode 1
        RULE javax/management/mxbean/AmbiguousConstructorTest.java Exception java.io.InvalidObjectException: Do not know how to make a AmbiguousConstructorTest$Unambiguous
        RULE javax/management/mxbean/ExceptionDiagnosisTest.java Exception java.io.InvalidObjectException: Do not know how to make a ExceptionDiagnosisTest$CaseProb
        RULE javax/management/mxbean/LeakTest.java Exception java.io.InvalidObjectException: Do not know how to make a TigerMXBean$Point
        RULE javax/management/mxbean/MXBeanTest.java Exception java.io.InvalidObjectException: Do not know how to make a TigerMXBean$Point
        RULE javax/management/mxbean/PropertyNamesTest.java Exception java.io.InvalidObjectException: Do not know how to make a PropertyNamesTest$Point
        RULE java/util/logging/TestLogConfigurationDeadLock.java Exception java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory
        RULE java/util/logging/TestLoggerBundleSync.java Exception java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory
        RULE java/net/Authenticator/B4769350.java Exception java.lang.ClassNotFoundException: com.sun.net.httpserver.HttpHandler
        RULE java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java Exception java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory
        RULE java/lang/invoke/lambda/LambdaAsm.java Exception java.lang.NoClassDefFoundError: javax/tools/StandardJavaFileManager

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  eistepan Evgeniya Stepanova
                  Reporter:
                  eistepan Evgeniya Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: