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
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