[9] RFR(S): 8066433: Copy Whitebox testlibrary to top level repository

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Dec 12 02:16:36 UTC 2014


On 12/09/2014 02:15 AM, Staffan Larsen wrote:
> The suggestion is to use "@library /../../test/lib”. Using an initial slash means that the path is relative to TEST.ROOT, not to the test itself. I’m not sure if this was intended in jtreg or if it just happens to work. I’m sure we can think of cleaner approach in the future.
>
> /Staffan

This is remarkably ugly, and I'm sorry that it even works.

I welcome suggestions for a better way of expressing this, although I 
have a horrible feeling the ../.. sequence is going to have to show up 
somewhere, although it would be better if it was not in every test that 
uses the library.

-- Jon


More information about the jdk9-dev mailing list