On Wed, 11 Jun 2025 16:56:48 GMT, Justin Lu <j...@openjdk.org> wrote:

> so I used the ClassFile API to create those class files.

Use of ClassFile API I think is a good approach.

> Using JDKToolFinder.getCompileJDKTool("jar") with the CF API seems reasonable 
> to do all the work dynamically. I will take a look, thanks for the idea.

If you run into trouble using the `jar` tool, then we have other APIs/ways to 
generate such JAR file within the test. I'll let you continue experimenting 
with the `jar` tool and if you think you will need help at some point, then let 
me know and I can try a few things in this test.

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

PR Comment: https://git.openjdk.org/jdk/pull/25703#issuecomment-2963567634

Reply via email to