On Mon, 13 Jan 2025 07:52:08 GMT, Adam Sotona <asot...@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

Reply via email to