Since Aman's email did not seem to reach the mailing list I am forwarding it for him. I will be busy until tomorrow so I won't be looking at scripting API not working in GAE/J until then...
-Tom ---------- Forwarded message ---------- From: Aman King <[email protected]> Date: Wed, May 6, 2009 at 8:26 PM Subject: Re: [ANN] JRuby 1.3.0RC1 Released To: Thomas E Enebo <[email protected]> Hi Thomas, I'd sent the following mail to the JRuby User mailing list some hours back but it hasn't appeared yet (just like a mail I'd sent a couple of days back which also went missing), so I'm resending to you. Please reply if you can find the time. Thanks! ------------- Hi, That's good and quick work. Thanks. Hopefully we'll see a good number of JRuby apps on Google App Engine soon. :-) I'm trying to deploy a Java app that uses JRuby, on Google App Engine. My app initially used the Java Scripting Engine for JRuby: however, the latest jruby-engine.jar, I think, is still compatible with only JRuby 1.1.x, and JRuby 1.1.x will not work on GAE/J because of threading restrictions. My question is: Is someone working on updating the JRuby Java Scripting Engine for JRuby 1.3.x? Where could we get it? For now, I've updated my app to use JRuby APIs directly, which I know is not recommended... and I personally learnt why: it seems that Ruby.evalScriptlet() has changed behavior since JRuby 1.1.x to not use the runtime's context over multiple invocations (correct me if I'm wrong), meaning evaling "i='str'" and subsequently "puts i" will result in NameError. I had to look around to find how to reuse context (the current JRuby Java Scripting Engine code provided hints). :-) Thanks, Aman King On May 2, 1:35 am, Thomas E Enebo <[email protected]> wrote: > The JRuby community is pleased to announce the release of JRuby 1.3.0RC1 > > Homepage:http://www.jruby.org/ > Download:http://dist.codehaus.org/jruby/ > > JRuby 1.3.0RC1 is a release to fix some issues which prevented JRuby from > working with Google App Engine (GAE/J). We decided to put out a shorter > release so that users interested in GAE/J could get going without needing to > build JRuby from scratch. > > ****Please try your apps against 1.3.0RC1 ASAP and report problems**** > > Highlights: > - Fixes so that JRuby runs in restricted environments better like GAE/J > - Accessing primitive Java arrays are about 10x faster > - timeout.rb is now ~40% faster > - irb works in --1.9 mode now > - Additional Miscellaneous 1.9 fixes > - rubygems 1.3.2 and rspec 1.2.6 upgrades > - 22 bugs fixed since 1.2.0 > > Key Summary > JRUBY-3566 bug in multiplication > JRUBY-1401 Pathname#realpath fails for Windows drive letters > JRUBY-3490 Object#instance_exec only works with blocks of 3 > parameters or less?! > JRUBY-3423 When using ActiveSupport, YAML dump/load of 3.0 returns > YAML::PrivateType > JRUBY-3517 Incorrect self in a multiple assignment > JRUBY-3514 RUBY_PATCHLEVEL should be a Fixnum instead of String > JRUBY-3533 YAML.load fails on Base64 encoded binary data created by > yaml "Length of Base64 encoded input string is not a multiple of 4." > JRUBY-3516 Non-thread safe regex backrefs > JRUBY-2289 File.directory? returns false for directories inside a jar > JRUBY-3551 ConcurrentModificationException in > RubyClass.invalidateCacheDescendants() > JRUBY-3564 UDPSocket#bind should interpret the empty string as > INADDR_ANY, not loopback > JRUBY-3563 getsockname and getpeername should return a struct sockaddr > JRUBY-3511 1.2.0: jruby --1.9 picks up the wrong path for loading modules > JRUBY-3166 Primitive type not being boxed when implementing a Java > interface. > JRUBY-3568 Threads don't appear to inherit the thread group of their > creating thread > JRUBY-3599 loop does not rescue StopIteration in --1.9 > JRUBY-3610 StringIO#read given a buffer raises ArrayIndex error > JRUBY-3488 trap does not handle string as second argument > JRUBY-3481 JRuby test: test_command_line_switches.rb fails on Oracle > JRockit JVM > JRUBY-3537 FFI: initialize() is not called for Struct and > ManagedStruct instances > JRUBY-3565 TCPServer should bind to INADDR_ANY given empty string as > hostname > JRUBY-3461 Minor code conventions documentation typo > > -- > Blog:http://www.bloglines.com/blog/ThomasEEnebo > Email: [email protected] , [email protected] > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email -- Blog: http://www.bloglines.com/blog/ThomasEEnebo Email: [email protected] , [email protected] --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
