RFR: 8133245 Use external.lib.roots instead of relative paths for @library

Staffan Larsen staffan.larsen at oracle.com
Mon Aug 10 12:19:34 UTC 2015


> On 10 aug 2015, at 14:03, Jaroslav Bachorik <jaroslav.bachorik at oracle.com> wrote:
> 
> Hi Staffan,
> 
> On 10.8.2015 01:19, Staffan Larsen wrote:
>> jtreg @library entries like these:
>> 
>>  @library /../../test/lib
>> 
>> which refer to classes in the top-level repo, can be changed to
>> 
>>   * @library /test/lib
>> 
>> if external.lib.roots=../../ is added to TEST.ROOT. This is a new feature in jtreg 4.1b12 (which we are currently using).
>> 
>> Please review the changes to the serviceability tests to incorporate this:
>> 
>> bug: https://bugs.openjdk.java.net/browse/JDK-8133245
>> webrev hotspot: http://cr.openjdk.java.net/~sla/8133245/hotspot/webrev.00/
> 
> Looks good.
> 
>> webrev jdk: http://cr.openjdk.java.net/~sla/8133245/jdk/webrev.00/ <http://cr.openjdk.java.net/~sla/8133245/jdk/webrev.00/>
> 
> test/TEST.ROOT - shouldn't there be '4.1 b12' instead of '4.1 b11’?

Yes, it does say ‘4.1 b12’: http://cr.openjdk.java.net/~sla/8133245/jdk/webrev.00/test/TEST.ROOT.udiff.html <http://cr.openjdk.java.net/~sla/8133245/jdk/webrev.00/test/TEST.ROOT.udiff.html>

/Staffan

> 
> Otherwise looks good too.
> 
> -JB-
> 
>> 
>> Thanks,
>> /Staffan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20150810/2081c7b0/attachment.html>


More information about the serviceability-dev mailing list