Project

General

Profile

Defect #833

Hangs when running in java 8

Added by Michel van Klink over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
12/03/2014
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

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

CodeSigner.zip (51.2 KB) CodeSigner.zip Michel van Klink, 03/02/2015 04:19 PM

History

#1

Updated by Patrick Talbot over 9 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.

#2

Updated by Michel van Klink over 9 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?

#3

Updated by Patrick Talbot over 9 years ago

If you're in a hurry, you can always sponsor that change.

#4

Updated by Robert Ivens over 9 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.

#5

Updated by Michel van Klink about 9 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

#6

Updated by Michel van Klink about 9 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)?

#7

Updated by Michel van Klink about 9 years ago

Attached you will find a zip containing my patch and the classes8 directory.

#8

Updated by Patrick Talbot about 9 years ago

  • Status changed from In Progress to Closed

Fixed in v1.3

Also available in: Atom PDF