bootclasspath.dirs examples

Jonathan Gibbons jonathan.gibbons at
Wed Jul 3 03:20:57 PDT 2013

On 07/02/2013 05:43 AM, Alan Bateman wrote:
> I'm looking for a few examples that use bootclasspath.dirs. 
> Specifically I'm looking for an example of a test that has two parts, 
> the test itself (to be loaded by the jtreg's usual URLClassLoader) and 
> a library part that should be appended to the boot class path. I can 
> trivially do this with a shell test but I don't want to go there.
> The only examples that I can find are the stream tests in the jdk 
> repository and a unit test in the code-tools-jtreg repository. From 
> what I can tell, the tests in these cases are on the boot class path 
> whereas I only want the "library" to be on the boot class path. Is 
> this possible?
> -Alan

I had that in mind, but I may have only made that case work for 
TestNG.   If it works at all, you'd need to list the library dir in a file with

-- Jon

More information about the jtreg-use mailing list