RFR: 8346986: Remove ASM from java.base

David Holmes dholmes at openjdk.org
Wed Jan 8 01:12:47 UTC 2025


On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> There are no more consumers of ASM library except for hotspot tests.
> This patch moves ASM library from java.base module to the hotspot test libraries location and fixes the tests.
> 
> Please review.
> 
> Thanks,
> Adam

Test libraries belong in test/lib even if only hotspot is using this one IMO. I'd like to hear @lmesnik 's opinion on this.

Also how is this library being built for the tests to use? If relying on jtreg facilities we will likely hit the known problems that jtreg has in this area - and this library would seem a good candidate for the proposal to prebuild some test libraries when the test image is built.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22946#issuecomment-2576512536


More information about the build-dev mailing list