Skip to content

JRuby 1.1: org.jruby.Ruby method renames break Spring's scripting support [SPR-4743] #9420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Apr 23, 2008 · 1 comment
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Dirk Mahler opened SPR-4743 and commented

The script integration for JRuby does not work with JRuby 1.1.0+:

partial stack trace:

Caused by: java.lang.NoSuchMethodError: org.jruby.Ruby.parse(Ljava/lang/String;Ljava/lang/String;Lorg/jruby/runtime/DynamicScope;)Lorg/jruby/ast/Node;
at org.springframework.scripting.jruby.JRubyScriptUtils.createJRubyObject(JRubyScriptUtils.java:89)

The issue is known to the JRuby Development team, see http://jira.codehaus.org/browse/JRUBY-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel


Affects: 2.5.2

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Unfortunately JRuby 1.1 changed quite a lot of its API, so updating our support there isn't trivial - in particular given that we need to retain JRuby 1.0 compatibility... Also, JRuby 1.1 requires Java 5, whereas JRuby 1.0 was still compatible with JDK 1.4.

For those reasons, I'm scheduling JRuby 1.1 support for Spring 3.0 (for a milestone this summer); Spring 2.5.x keeps requiring JRuby 0.9 or 1.0.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants