PING! Re: RFR(XS): JDK-8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Christian Tornqvist
christian.tornqvist at oracle.com
Tue Aug 23 19:10:20 UTC 2016
Hi Dmitry,
You don't need to explicitly build JpsHelper, I also noticed that you're using ProcessTools and OutputAnalyzer from /lib/testlibrary , would it make sense to change this to use the /test/lib ones and simply have:
@library /test/lib
?
Thanks,
Christian
-----Original Message-----
From: hotspot-runtime-dev [mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Dmitry Samersoff
Sent: Tuesday, August 23, 2016 3:02 PM
To: Ioi Lam <ioi.lam at oracle.com>; serviceability-dev at openjdk.java.net; hotspot-runtime-dev <hotspot-runtime-dev at openjdk.java.net>
Subject: Re: PING! Re: RFR(XS): JDK-8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Ioi,
Thank you for review.
Hmm. It looks like changes below solves the problem.
- * @build jdk.testlibrary.* JpsHelper JpsBase
+ * @build JpsHelper JpsBase
I'm running rbt job to verify it.
-Dmitry
On 2016-08-23 16:10, Ioi Lam wrote:
> Hi Dmitry,
>
> Why are you adding /test/lib:
>
> - * @library /lib/testlibrary
> + * @library /lib/testlibrary /test/lib
>
> The only class used by jdk/test/sun/tools/jps/*.java in /test/lib is here:
>
> TestJpsSanity.java:import jdk.test.lib.apps.LingeredApp;
>
> But TestJpsSanity.java is not use by this test -- I ran the test with
> your patch in a clean jtreg directory and the test passed, but I don't
> see TestJpsSanity.class, or any jdk.test.lib.* class.
>
> So I don't think you need to add /test/lib.
>
> - Ioi
>
> On 8/23/16 5:34 AM, Dmitry Samersoff wrote:
>> On 2016-08-17 10:51, Dmitry Samersoff wrote:
>>> Everybody,
>>>
>>> Please review the changes:
>>>
>>> http://cr.openjdk.java.net/~dsamersoff/JDK-8160923/webrev.01/
>>>
>>> -Dmitry
>>>
>>
>
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list