Defect #833
Hangs when running in java 8
0%
Description
When running in java 8 (1.8-025) the code sign utility hangs
In the console for the first jar only steps start processing and repacked are shown
Files
History
Updated by Patrick Talbot over 10 years ago
- Status changed from New to In Progress
I haven't had a chance to give it some tests on Java 8 yet.
In the meantime, I would recommend signing your jars with Java 7.
Updated by Michel van Klink over 10 years ago
On OSX yosemite we don“t want to run java 7 because it is not supported by apple or oracle. Do you know when this tool will be java 8 ready?
Updated by Patrick Talbot over 10 years ago
If you're in a hurry, you can always sponsor that change.
Updated by Robert Ivens over 10 years ago
Actually I don't see any notices on the Java website that Java 7 is not supported on Yosemite. When Yosemite was beta it was indeed not supported. Now Java 7 installs and runs fine on my Yosemite install.
As for being in a hurry, as already suggested you could add an incentive (donate money) or supply a patch yourself. It's Open Source after all.
Updated by Michel van Klink about 10 years ago
Changing to java 8 takes more than simply adding some classes from the jdk (like it was done for java 7) because class sun.security.tools.JarSigner does not exist anymore in java 8. It is now called sun.security.tools.jarsigner.Main
Updated by Michel van Klink about 10 years ago
Hello Patrick, I created a patch for this. Because the class sun.security.tools.JarSigner no longer exists in java 8 the correct class sun.security.tools.jarsigner.Main has to be used. A JarSignerChooser class was created for this. Can I just check this in (never supplied code to an open source project before)?
Updated by Michel van Klink about 10 years ago
- File CodeSigner.zip CodeSigner.zip added
Attached you will find a zip containing my patch and the classes8 directory.
Updated by Patrick Talbot about 10 years ago
- Status changed from In Progress to Closed
Fixed in v1.3