pack200 --repack not working in Java 1.7 or Java 1.8 on Mac OS X
Alan Bateman
Alan.Bateman at oracle.com
Sat Jul 14 06:14:47 PDT 2012
On 14/07/2012 04:35, Stephen Bannasch wrote:
> Running pack200 --repack fails with a NullPointerException in Java 1.7
> or Java 1.8 Mac OS X 10.7.4
>
> 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)
>
> more details: https://gist.github.com/3109057
>
Thanks for the bug report, this seems to be a regression in 7u5 caused
by 7143606. I've created a bug to track it:
7184145: (pack200) pack200 --repack throws NullPointerException when JAR
file specified without path
If you change the command to specify a directory, say ./SwingSet2.jar
then it will work as before.
-Alan.
More information about the jdk7u-dev
mailing list