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

TEST_BUG: update tests for upcoming changes for jtreg

XMLWordPrintable

    • b55
    • generic
    • generic
    • Verified

        Currently, jtreg incorrectly confuses the concept of the /directory/ in which the test's class will be written with the /classpath/ used to locate all of the test's classes, including any library classes. It provides env variable TESTCLASSES and system property test.classes, and tests use these to mean both a directory and a classpath.

        jtreg will be fixed to separate the two concepts, such that TESTCLASSES/test.classes will continue to mean the /directory/ in which the test's class will the written, and will introduce TESTCLASSPATH/test.class.path for the classpath used to locate all the test's classes.

        This change only affects a small number of tests, which use both @library and TESTCLASSES. Two RMI tests are affected.
        FAILED: java/rmi/activation/Activatable/extLoadedImpl/ext.sh
        FAILED: java/rmi/registry/readTest/readTest.sh

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: