Forum: JRuby unable to set __persistent__

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
40c8f707cab5f50878cee873881d6b75?d=identicon&s=25 Roger P. (rogerdpack)
on 2012-05-23 18:22
Hello all.
When I attempt to run the demos here:

I get this:

jruby test.rb
JavaProxy$INVOKER$i$1$0$persistent.gen:-1:in `call':
java.lang.ClassCastException: org.jruby.RubyClass cannot be cast to
        from `cacheAndCall'
        from `call'
        from test.rb:9:in `__file__'
        from test.rb:-1:in `load'
        from `runScript'
        from `runScript'
        from `runNormally'
        from `runFromMain'
        from `doRunFromMain'
        from `internalRun'
        from `run'
        from `run'
        from `main'

(hard exit)

is this expected?

jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-17 c550df6) (Java
HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]
09a41a085f93af8644a7e2e35ba987af?d=identicon&s=25 Charles N. (headius)
on 2012-06-08 21:44
(Received via mailing list)
Reported and fixed on master.
40c8f707cab5f50878cee873881d6b75?d=identicon&s=25 Roger P. (rogerdpack)
on 2012-06-21 01:27
Appears fixed with jruby (ruby-1.9.3-p203)
(2012-06-14 fb4c77f)
This topic is locked and can not be replied to.