RFR: 8346986: Remove ASM from java.base

Adam Sotona asotona at openjdk.org
Tue Jan 7 22:21:35 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've decided to move it under hotspot/jtreg test root as all other tests have been already converted to Class-File API and there is no other consumer of the library outside of the hotspot/jtreg test root.

Despite the 265 modified files is this PR trying to be minimalistic. Repackaging of the library would be far more complex and would affect significantly more files, including the library itself. I would recommend to invest that effort into the tests conversion into Class-File API instead.

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

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


More information about the build-dev mailing list