pack200 --repack not working in Java 1.7 or Java 1.8 on Mac OS X
Stephen Bannasch
stephen.bannasch at deanbrook.org
Sat Jul 14 07:34:42 PDT 2012
At 2:14 PM +0100 7/14/12, Alan Bateman wrote:
>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>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
Hi Alan,
Thanks for confirming and making a bug report.
Where is the bug you created listed?
I can't see it here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7184145
>If you change the command to specify a directory, say ./SwingSet2.jar then it will work as before.
That's great. I've confirmed the work-around works for me in 1.8, 1.7 and 1.6.0_33
More information about the jdk7u-dev
mailing list