RFR: 8305142: Can't bootstrap ctw.jar
Aleksey Shipilev
shade at openjdk.org
Wed Mar 29 08:34:10 UTC 2023
On Wed, 29 Mar 2023 07:17:23 GMT, Xin Liu <xliu at openjdk.org> wrote:
> This patch add a few add-exports so CTW can access those internal packages of java.base module.
>
> make succeeds and ctw.jar is generated as expected.
So this build failure only happens because we implicitly compile the rest of the testlib, even though CTW does not use it? Because if CTW uses these, I would have expected we need the similar additions in `CtwRunner` here: https://github.com/openjdk/jdk/blob/09852884cc4f55b2c95e2dbe28cf5c7ad9095684/test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/CtwRunner.java#L274-L278
-------------
PR Review: https://git.openjdk.org/jdk/pull/13220#pullrequestreview-1362527600
More information about the hotspot-compiler-dev
mailing list