Skip to content

Fix compatibility wiht Bouncy Castle 1.49.#1157

Closed
voxik wants to merge 1 commit intojruby:masterfrom
voxik:bc-149
Closed

Fix compatibility wiht Bouncy Castle 1.49.#1157
voxik wants to merge 1 commit intojruby:masterfrom
voxik:bc-149

Conversation

@voxik
Copy link
Contributor

@voxik voxik commented Oct 24, 2013

Hi,

I am trying to update JRuby packages in Fedora and it seems that JRuby is not compatible with Bouncy Castle 1.49:

[ERROR] /builddir/build/BUILD/jruby-1.7.5/ext/openssl/src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java:[369,36] error: PBES2Parameters(ASN1Sequence) has private access in PBES2Parameters
[ERROR] /builddir/build/BUILD/jruby-1.7.5/ext/openssl/src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java:[375,89] error: cannot find symbol
[ERROR] /builddir/build/BUILD/jruby-1.7.5/ext/openssl/src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java:[381,49] error: cannot find symbol

I come with this patch to fix the compatibility. I would appreciate if you can accept

@mkristian
Copy link
Member

I wonder if there are any tests for such functionality (that is where I dropped my patch before) ?

@voxik
Copy link
Contributor Author

voxik commented Oct 24, 2013

Well, hard to say ... I am still far from being able to run the test suite, but I can compile this bit at least :)

@enebo
Copy link
Member

enebo commented Oct 28, 2013

Are there versioned API docs? How far back do we need to go to support these newer signatures?

@headius
Copy link
Member

headius commented Oct 28, 2013

I'm going to look at this and see if it passes tests.

@headius
Copy link
Member

headius commented Oct 28, 2013

The code appears to merge and pass all tests just fine on JRuby master. I don't think there are objections to merging there, but since we maintain jruby-openssl and bouncy-castle gems across older JRuby impls, we may want to discuss whether to merge now or not.

@headius
Copy link
Member

headius commented Oct 28, 2013

Merged into 1.7 and master.

@headius headius closed this Oct 28, 2013
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

Successfully merging this pull request may close these issues.

4 participants