RFR: 8322982: CTW fails to build after 8308753
Xin Liu
xliu at openjdk.org
Mon Jan 8 03:24:33 UTC 2024
This patch fixes the build error of CTW by sidelining ModuleInfoWriter.java. ModuleInfoWriter uses Class-File API, which has transitioned to preview.
If we really need to compile it, we have to append --enable-preview and --source N.
The fact is CTW itself doesn't depend on ModuleInfoWriter. I think it's easier to maintain CTW if we filter it out in Makefile.
-------------
Commit messages:
- 8322982: CTW fails to build after 8308753
Changes: https://git.openjdk.org/jdk/pull/17292/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17292&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8322982
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/17292.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17292/head:pull/17292
PR: https://git.openjdk.org/jdk/pull/17292
More information about the hotspot-compiler-dev
mailing list