RFR(S): JDK-8153278 sun/tools/jps/TestJpsJar.java fails in hs nightly
Dmitry Samersoff
dmitry.samersoff at oracle.com
Wed Apr 20 08:00:53 UTC 2016
David,
The problem is observed under Aurora/Windows where the test starts
as C:\<some path> but when JPS is run the path is E:\<some path>
So the test is failed.
I have no ideas how it happens.
-Dmitry
On 2016-04-20 05:37, David Holmes wrote:
> Hi Dmitry,
>
> On 19/04/2016 11:06 PM, Dmitry Samersoff wrote:
>> Everybody,
>>
>> Please review the changes.
>>
>> http://cr.openjdk.java.net/~dsamersoff/JDK-8153278/webrev.01/
>>
>> The test (a) get it's own name then (b) launch JPS and check that it's
>> name is present in the output.
>>
>> If for some reason the directory from where the test is run changes it
>> name between (a) and (b) test fails.
>>
>> So test changed to get it's name right before the check of jps output.
>
> Changes seem fine, but I am curious how the directory can be changed
> between (a) and (b) ??
>
> Thanks,
> David
>
>> -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