RFR(XXS) : 8158185 : jdk/test/lib/FileInstaller throws NPE if dst is in current directory

George Triantafillou george.triantafillou at oracle.com
Tue May 31 19:02:55 UTC 2016


Hi Igor,

Looks good.

-George

On 5/30/2016 8:08 PM, Igor Ignatyev wrote:
> http://cr.openjdk.java.net/~iignatyev/8158185/webrev.00/
>> 2 lines changed: 0 ins; 0 del; 2 mod;
> Hi all,
>
> could you please review this small changeset which fixes FileInstaller? FileInstaller throws NPE if 2nd argument (dst) is in current directory, this happens because Path::getParent returns null if Path doesn’t have a parent. to prevent this, I added Path::toAbsolutePath call.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8158185
> webrev: http://cr.openjdk.java.net/~iignatyev/8158185/webrev.00/
>
> Thanks,
> — Igor



More information about the hotspot-dev mailing list