[jruby-dev] Namespace conflict

2012-10-18 Thread Carl Bourne
Hi there, I think I've hit another JRuby namespace confict. e.g. kstore = KeyStore.getInstance("JKS") kstore.load(FileInputStream.new("example.jks"), "password".toCharArray) NameError: no method 'load' for arguments (java.io.FileInputStream) on Java::JavaSecurity::KeyStore I tried using kstor

Re: [jruby-dev] Namespace conflict

2012-10-18 Thread Carl Bourne
Well to sort of answer my own question here, this works in JRuby 1.7 RC2 but not in 1.6.8. kstore.load(FileInputStream.new("example.jks"), String.new("password").toCharArray) Problem is the BC libs don't so I'm sort of stuck between a rock and a hard place ;-) On 18 Oct 2012, at 14:35, Carl

Re: [jruby-dev] Namespace conflict

2012-10-18 Thread Charles Oliver Nutter
Yeah sorry for the troubles here. Hopefully for JRuby 1.7.1 we can get our SSL stuff updated to current BC.. On Thu, Oct 18, 2012 at 9:32 AM, Carl Bourne wrote: > Well to sort of answer my own question here, this works in JRuby 1.7 RC2 but > not in 1.6.8. > > kstore.load(FileInputStream.new("exa