RFR: 8346986: Remove ASM from java.base
Leonid Mesnik
lmesnik at openjdk.org
Wed Jan 8 01:48:34 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
I think it is make sense to put ASM into hotspot testlibrary if there are no any other users. So it is clear that non-hotspot tests don't depend on it.
There is a location
test/hotspot/jtreg/testlibrary
for hotstpot specific libraries.
Could you please move it here.
Before renaming packages, I would like to understand if we can move to standard ASM? We are no planning to develop new tests and maintain this library for newer releases. Otherwise, keeping jdk.internal simplify backporting changes.
It is not possible to implement it as a precompiled library because of jtreg limitations to find jars in test-images. So I'll implement this later.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22946#issuecomment-2576544218
More information about the build-dev
mailing list