Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903927

Support test image with compiled test libraries in jtreg

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      The goal is provide jtreg support for https://bugs.openjdk.org/browse/JDK-8346058

      Add '-test-image' parameter where jtreg can find required test binaries produced by JDK build.

      The initial fix should support precompiled test libraries.
      So test libraries might be compiled during build and the corresponding jar is used during testing.

      From https://bugs.openjdk.org/browse/JDK-8346058
      1. The jtreg should be modified to have ability to use classpaths for testlibrary.
      2. This jar should be used as a classpath instead of implicit compilation and in runtime.
      3. The jtreg should be backward compatible and compile testlibrary on-demand if jar is not available.
      4. The explicit @build should be able use testlibrary as a sourcepath as it do now. However, need to clean if this is needed in long-term.


      '-test-image' should eventually replace -nativepath and be the single point to access all artifacts required for test execution


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

              Created:
              Updated: