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

Igor Ignatyev igor.ignatyev at oracle.com
Tue May 31 00:08:01 UTC 2016

> 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/

— Igor 

More information about the hotspot-compiler-dev mailing list