RFR: 8346986: Remove ASM from java.base [v7]

Magnus Ihse Bursie ihse at openjdk.org
Mon Jan 13 12:20:44 UTC 2025


On Mon, 13 Jan 2025 07:52:08 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> Is there a way to pre-compile a test library and point related tests (or maybe all hotspot tests) to the library jar?

My initial thought was just to add the jar to the classpath, but maybe it is better to use an explicit `@library` tag. I guess we need to check how jtreg works, if it is possible to have it look for libraries outside the test root. Maybe we can send in an additional path in which to look for libraries as an argument. (Or maybe jtreg can be fixed to accept such a path.)

If that works, then the build system can provide the "glue" to accept in an argument to configure pointing out the ASM jar, and then pass it on to jtreg.

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

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


More information about the build-dev mailing list