JRuby script engine does not load on IBM JDK
--------------------------------------------

                 Key: JRUBY-3073
                 URL: http://jira.codehaus.org/browse/JRUBY-3073
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1.4, JRuby 1.1.3, JRuby 1.1.2, JRuby 1.1.1, JRuby 
1.1
         Environment: Tested on Linux and AIX

IBM JDK info (download 32-bit xSeries (Intel compatible) jdk here 
https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=intel5sr8a&S_TACT=105AGX05&S_CMP=JDK):
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20080811b 
(SR8a))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20080811 
(JIT enabled)
J9VM - 20080809_21892_lHdSMr
JIT  - 20080620_1845_r8
GC   - 200806_19)
JCL  - 20080811a

            Reporter: Jonathan Anstey
         Attachments: ruby-error.tar.gz

I've been trying to get the JRuby scripting engine loading up on the IBM JDK... 
its not working so good. All the other scripting engines load up fine on IBM's 
JDK. I've also tested this on Sun's JDK and JRuby loaded fine.

My attached test app (run with 'mvn clean install') spits out the following 
info in the test case surefire report:

-------------------------------------------------------------------------------
Test set: org.jrubytest.JRubyTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.175 sec <<< 
FAILURE!
testLoadingScriptingLanguages(org.jrubytest.JRubyTest)  Time elapsed: 2.121 sec 
 <<< ERROR!
file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:47:in
 `require': IO error -- builtin/java/regex (LoadError)
        from 
file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:47
        from 
file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:1
        ...internal jruby stack elided...
        from 
Kernel.require(file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:47)
        from 
(unknown).(unknown)(file:/home/janstey/.m2/repository/org/jruby/jruby/1.1.4/jruby-1.1.4.jar!/builtin/javasupport.rb:1)
        from (unknown).(unknown)(:1)

The builtin/java/regex is indeed in the jar so I'm not sure why it isn't 
loading. Anyone have any ideas?

-- 
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


Reply via email to