Creating jar files as part of a test?

Wang Weijun at
Mon Mar 31 06:08:47 UTC 2014

test/java/util/jar/Manifest/ has:

    String [] args = new String [] { "cvfm", jarFileName, ManifestName}; jartool =
            new, System.err, "jar");;


On Mar 31, 2014, at 13:59, David Holmes <david.holmes at> wrote:

> I need to dynamically create a jar file containing some of the classes that form my test, and then use that jar file on a secondary exec of the VM (using ProcessTools). Given we aren't supposed to check-in binary files to the repos, what is the simplest way to generate a jar file using jtreg?
> Thanks,
> David

More information about the jtreg-use mailing list