Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314823 Update or mark as vm.flagless tests that ignore external VM flags
  3. JDK-8319578

Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only

    XMLWordPrintable

Details

    Backports

      Description

        These tests uses options like

        "${JAVA}" ${TESTVMOPTS} -javaagent:RedefineMethodInBacktraceAgent.jar \
            -XX:+AllowRedefinitionToAddDeleteMethods \
            -classpath "${TESTCLASSES}" RedefineMethodInBacktraceApp > output.log 2>&1
        RUN_RESULT=$?

        while it is needed to read TESTJAVAOPTS also.
        java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh
        java/lang/instrument/RedefineMethodWithAnnotations.sh
        java/lang/instrument/RedefineMethodInBacktrace.sh
        java/lang/instrument/RedefineMethodDelInvoke.sh
        java/lang/instrument/RedefineClassWithNativeMethod.sh
        java/lang/instrument/ManifestTest.sh
        java/lang/instrument/BootClassPath/BootClassPathTest.sh
        java/lang/instrument/appendToClassLoaderSearch/CircularityErrorTest.sh
        java/lang/instrument/appendToClassLoaderSearch/ClassUnloadTest.sh
        java/lang/instrument/appendToClassLoaderSearch/run_tests.sh

        Attachments

          Issue Links

            Activity

              People

                lmesnik Leonid Mesnik
                lmesnik Leonid Mesnik
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: