RFR(S): 8165490: [TESTBUG] sun/tools/jps/TestJpsJar.java still fails with ClassNotFoundException: jdk.testlibrary.ProcessTools

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Tue Sep 6 14:45:46 UTC 2016


FYI: the problem is with new JDK 9 multi-release jar tool which ignores 
second(and others) '-C <folder> .' arguments. Bug: JDK-8165500 "jar not 
proceed second(and others) -C <dir> . arguments" 
<https://bugs.openjdk.java.net/browse/JDK-8165500>

Dmitry

On 06.09.2016 15:35, Dmitry Dmitriev wrote:
> Hello, I withdraw this patch because it's wrong. Thanks!
>
> On 06.09.2016 14:43, Dmitry Dmitriev wrote:
>> Hello,
>>
>> Please review fix for jdk/test/sun/tools/jps tests. 
>> sun/tools/jps/TestJpsJar.java still fails with 
>> ClassNotFoundException: jdk.testlibrary.ProcessTools. The problem is 
>> that TestJpsJar not add class path to the process builder and fails 
>> to find test library classes if these classes were compiled before 
>> with @build directive.
>>
>> In this fix I also removed unnecessary build directives from 
>> sun/tools/jps/ tests.
>>
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8165490
>> webrev.00: http://cr.openjdk.java.net/~ddmitriev/8165490/webrev.00/ 
>> <http://cr.openjdk.java.net/%7Eddmitriev/8165490/webrev.00/>
>> Testing: locally, RBT(in progress)
>>
>> Thanks,
>> Dmitry
>

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


More information about the serviceability-dev mailing list