:undefined method for Thread:class. for compiled Jruby classes
--------------------------------------------------------------
Key: JRUBY-1497
URL: http://jira.codehaus.org/browse/JRUBY-1497
Project: JRuby
Issue Type: Bug
Components: Compiler
Affects Versions: JRuby 1.0.1, JRuby 1.0.0, JRuby 1.0.0RC3, JRuby 1.0.0RC2,
JRuby 1.0.0RC1, JRuby 0.9.9, JRuby 0.9.8, JRuby 0.9.2, JRuby 0.9.1, JRuby 0.9.0
Environment: Linux Fedora 7 Jruby 1.01
Reporter: Derek Townsend
when a jruby program that uses Thread.exclusive is compiled to java, it errors
out saying undefined method for Thread:class. Is is getting confused and
thinking the Thread class is the java Thread class instead of Ruby thread class.
Error: jruby -e "Thread.exclusive = true"
-e:1:in `method_missing': undefined method `exclusive=' for Thread:Class
(NoMethodError)
After talking with Charles he suggest that it is a problem with the precompiled
version not finding the thread library or an issue with how load path is
getting set up for precompiled apps
--
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