scripting - Are there limitations to JSR223 implementation on Java 1.5 -


the java api scripting languages (jsr223) comes standard in java 1.6 , can downloaded separately java 1.5 here.

my question is: there limitations or differences should aware of if using separate download 1.5 versus native support in 1.6?

i had been facing same question earlier.

one difference might quality of script engines. here's response got on jruby-user list:

i guess 1 of reasons current jruby engine works on java5 not official release. put archive users' convenience. http://old.nabble.com/call-for-discussion-about-embed-api-tp24528478p24981076.html :

also:

i know class version problems reported java5+jsr223+jruby, works fine me. http://old.nabble.com/call-for-discussion-about-embed-api-tp24528478p25181920.html

i think these relate scriptengines compiled under jdk5, see http://kenai.com/projects/jruby/pages/javaintegration#java_6_(using_jsr_223:_scripting)

that said, haven't run these or other real problems on java5 , jruby - apart limitations of java.scripting api itself, that's same on java6 guess. (see thread above well).

so think benefit of java6 -strictly jsr223 point of view- better support , performance.

on other hand, did run class loading problems java 6 osgi: think needs tweaks jre's built in discovery mechanism finds scriptengines living in bundles.. (i might post question :)


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -