hg: jigsaw/jigsaw/jdk: 6948144: jpkg throws NPE if resource directory does not exist

Akhil Arora akhil.arora at oracle.com
Fri Apr 30 13:07:01 PDT 2010


I noticed today that a similar exception is generated if a dir specified 
as the value of the -natlib arg does not exist.

On 04/30/2010 12:44 PM, dalibor.topic at sun.com wrote:
> Changeset: 0c4117c37a35
> Author:    robilad
> Date:      2010-04-30 21:40 +0200
> URL:       http://hg.openjdk.java.net/jigsaw/jigsaw/jdk/rev/0c4117c37a35
> 
> 6948144: jpkg throws NPE if resource directory does not exist
> Summary: Check if a resource dir exists before using it
> Reviewed-by: alanb
> 
> ! src/share/classes/org/openjdk/jigsaw/cli/Packager.java
> + test/org/openjdk/jigsaw/cli/JpkgArgsTest.java
> 




More information about the jigsaw-dev mailing list