RFR 9: 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Alan Bateman
Alan.Bateman at oracle.com
Mon Jun 1 14:17:31 UTC 2015
On 01/06/2015 14:57, Roger Riggs wrote:
> Please review this testbug fix to correctly check the reported command
> name.
> On Windows the command filename may differ only by case
> and should be checked to see if they are the same file, not just the
> same string.
File path comparison is case insensitive on Windows so equals would work
if the path Strings were obtaining from actual file paths. This doesn't
seem to be case here so using isSameFile make sense.
-Alan.
More information about the core-libs-dev
mailing list