[for review] 6948144: jpkg throws NPE if resource directory does not exist
Dalibor Topic
Dalibor.Topic at Sun.COM
Thu Apr 29 05:49:17 PDT 2010
Hi Alan,
thanks for reporting a NPE with
$ jpkg -m existing-dir -r non-existing-dir jmod some-mod
the fix is easy - test whether the resource path exists before passing
it on to module file writer ;) The webrev is at
http://cr.openjdk.java.net/~robilad/6948144/webrev.00/
Once this one is in, I'll commit similar tests for the remaining parameters.
cheers,
dalibor topic
--
*******************************************************************
Dalibor Topic Tel: (+49 40) 23 646 738
Java F/OSS Ambassador AIM: robiladonaim
Sun Microsystems GmbH Mobile: (+49 177) 2664 192
Nagelsweg 55 http://openjdk.java.net
D-20097 Hamburg mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Jürgen Kunz
More information about the jigsaw-dev
mailing list