RFR 9: 8136597 : java/lang/ProcessHandle/InfoTest.java fails: commandLine() should at least contain 'java'

Claes Redestad claes.redestad at oracle.com
Mon Dec 21 16:25:59 UTC 2015


On 2015-12-21 17:21, Roger Riggs wrote:
> Hi Claes,
>
> I considered that, but it might be that the command line contained 
> 'java' in the path name (not at the end)
> or that the truncation occurred just after 'java' in the pathname.
>
> With the possibility of truncation, there may be no reliable test at 
> all and it should be removed.

Perhaps better then to simply exclude platforms where truncation is a 
known problem from the test? if (!Platform.isSolaris() && 
!Platform.isAix() && ...

/Claes

>
> Roger 




More information about the core-libs-dev mailing list