Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Throws SecurityException when merge my jar?



Hi

I'm no java security expert, but i think it is the security mechanims of java that can not verify the source of the classes when you are doing a merge, i Java eyes the source is not the orginal jar.

Regards
Tonny
On May 17, 2006, at 4:25 AM, 谢纲 wrote:

Hi,all
I developed my java app with Xcode. When I did not choose the "Merge" in "Link Binary With Libaries" of the build phases, it works well. But once I
choose to merge the jar file, it throws SecurityException, as shown in following:
 
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature file entry org/bouncycastle/ocsp/OCSPException.class
Is it because of the using of some deprecated APIs? And  how can I deal with it while I do not want to modify the jar file?
Thks & Rgds!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Throws SecurityException when merge my jar? (From: "谢纲" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.