RFR [9] 8040038 : Test java/net/URLPermission/nstest/lookup.sh fails with ClassNotFoundException

Chris Hegarty chris.hegarty at oracle.com
Mon Apr 14 15:37:38 UTC 2014


On 14/04/14 16:28, Alan Bateman wrote:
> On 14/04/2014 16:30, Chris Hegarty wrote:
>> It looks like the change for JDK-8027221 missed an @build on the
>> dependent library type, Util.
>>
>> This is just another sighting of the dreaded @library with -conc issue.
>>
>> diff --git a/test/java/net/URLPermission/nstest/lookup.sh
>> b/test/java/net/URLPermission/nstest/lookup.sh
>> --- a/test/java/net/URLPermission/nstest/lookup.sh
>> +++ b/test/java/net/URLPermission/nstest/lookup.sh
>> @@ -26,6 +26,7 @@
>>  # @library /lib/testlibrary
>>  # @compile -XDignore.symbol.file=true SimpleNameService.java
>>  #            LookupTest.java SimpleNameServiceDescriptor.java
>> +# @build jdk.testlibrary.Utils
>>  # @run shell/timeout=50 lookup.sh
>>  #
> This looks okay to me. There is a fix in jtreg to support wildcard and
> once that version of jtreg is in wide use then it should be possible to
> fix up the tests that are failing with the same issue.

Right. I think other areas make heavier use of the testlibrary, we only 
use Utils in this simple test. Thanks for the review.

-Chris

>
> -Alan


More information about the net-dev mailing list