trustAnchors parameter must be non-empty

Mike Swingler swingler at apple.com
Sat Mar 3 22:29:09 PST 2012


As a workaround, you can just copy the cacerts files from Java SE 6 into your OpenJDK bundle, but that is not a permanent solution.

Long term, this is an issue that needs to be authoritatively addressed by Oracle - either by providing a cacerts file, or providing steps to generate one from the native platform. For Java SE 6, we derive the list from the list of root CAs in the Keychain...perhaps this process could be automated when building OpenJDK on the Mac.

Regards,
Mike Swingler
Apple Inc.

On Mar 3, 2012, at 4:50 PM, Mark Derricutt wrote:

> I've see this same issue when using the maven-changes-plugin to generate a
> change log, the source of the problem I was seeing was when using JavaMail,
> however it occurred both on OpenJDK/OSX on my machine, and on a coworkers
> Ubuntu machine ( I'm not sure if he was using OpenJDK or the official
> Oracle Java7 tho ).
> 
> Unable to see that issue you link as well...
> 
> 
> -- 
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
> 
> 
> On Sun, Mar 4, 2012 at 12:38 PM, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> Running into this...
>> Caused by: java.security.InvalidAlgorithmParameterException: the
>> trustAnchors parameter must be non-empty
>> 
>> trying to use some Google data stuff.
>> Appears to be the same error as...
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7145128
>> but that is closed as a duplicate to 7114062 which for some reason I can't
>> look at?
>> This bug is not available.
>> 
>> 



More information about the macosx-port-dev mailing list