RFR(XS) : 8213922 : fix ctw stand-alone build

Igor Ignatyev igor.ignatyev at oracle.com
Thu Nov 15 02:52:05 UTC 2018

> 33 lines changed: 21 ins; 3 del; 9 mod; 

Hi all,

could you please review this small fix in the makefile to build ctw as a standalone library?

the makefile hasn't been updated after repo consolidation and isn't valid anymore. this patch also adds ctw.sh file and ctw.zip to simplify usage of the library. after this is integrated, one (let's say Roland) will need to run 'make -C test/hotspot/jtreg/testlibrary/ctw ALT_BOOTDIR=<path to jdk12+ build>' to get all the required files in test/hotspot/jtreg/testlibrary/ctw/dist as well as ctw.zip which contains all these files. to run ctw, you just run ctw.sh passing compilation targets as arguments. A target can be a path to .jar, .zip, .lst files or directories with classes or module name prepended by 'module:' prefix, e.g. 'module:java.base'. more details can be found in (slightly outdated) test/hotspot/jtreg/testlibrary/ctw/README.

webrev: http://cr.openjdk.java.net/~iignatyev//8213922/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8213922

-- Igor

More information about the hotspot-compiler-dev mailing list