Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project can't be used when the jar is signed (original javafx package) #5

Closed
xjensh opened this issue Feb 1, 2013 · 2 comments
Closed

Comments

@xjensh
Copy link

xjensh commented Feb 1, 2013

We sign all of our jars and all of our dependencies with our companies certificate. Running a signed JavaFX application that was packaged as a native bundle using the official FX package tools we'll get this exception:

java.lang.SecurityException: class "javafx.scene.control.Dialogs"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
at java.lang.ClassLoader.defineClass(ClassLoader.java:785)

This is because of the same package name as the original FX source.

Do you have any plans to modify the package name to prevent this issue?

@marcojakob
Copy link
Owner

In that case you could take the source and just refactor the packages. You will need to make some path adjustments in the Dialogs class.

I don't plan to put too much work in improving the dialogs, because they should be included in the JavaFX 8 release that is due this year. So I'd recommend you make a temporary solution for the next few months and then remove the library once JavaFX 8 has been released.

@xjensh
Copy link
Author

xjensh commented Feb 1, 2013

Yep, that's what I've done while waiting for your answer ;)

Understandably attitude! Thanks for the answer and the port to Java FX 2.x - helped us a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants