[openssl] JRuby openssl incompatible with MRI
---------------------------------------------
Key: JRUBY-4939
URL: http://jira.codehaus.org/browse/JRUBY-4939
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby 1.5.1, JRuby-OpenSSL 0.7
Environment: JRuby 1.5.1 w/ openssl 0.7:
storm:~/tmp/jruby-bug $ jruby -v
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_15) [x86_64-java]
storm:~/tmp/jruby-bug $ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
storm:~/tmp/jruby-bug $ ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-darwin9.8.0]
storm:~/tmp/jruby-bug $ uname -a
Darwin storm.corporate.thoughtworks.com 9.8.0 Darwin Kernel Version 9.8.0: Wed
Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386
MacBookPro4,1 Darwin
Reporter: Ketan Padegaonkar
Priority: Critical
Attachments: make-request.rb, webrick-ssl.rb
It seems that the jruby openssl 'client' is incompatible with what MRI
provides. Here's how to reproduce the error:
Steps to reproduce:
1. Put both attachments in the same directory.
2. run "ruby webrick-ssl.rb" using MRI
3. In another terminal, run "jruby make-request.rb" -- test fails. Test passes
with MRI.
4. Kill the webrick server, and start it using jruby
5. In another terminal run "jruby make-request.rb" -- test passes. Test passes
with MRI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email