This is a regression reported on jdk7u-dev here: http://mail.openjdk.java.net/pipermail/jdk7u-dev/2012-July/003722.html Basically "pack200 -repack foo.jar" fails as follows since 7u5 b01 Exception in thread "main" java.lang.NullPointerException at com.sun.java.util.jar.pack.Driver.createTempFile(Driver.java:389) at com.sun.java.util.jar.pack.Driver.main(Driver.java:244) The issue is Driver.createTempFile attempts to call Files.createTempFile with where.toPath but "where" is null when the argument is a simple file name.
|