Bug when getting name of the module
-----------------------------------

                 Key: JRUBY-3482
                 URL: http://jira.codehaus.org/browse/JRUBY-3482
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.6
         Environment: Ubuntu 8.10 running on a 64 bit Intel.  I am using 
OpenJDK 1.6.0
            Reporter: Josh Moore
            Assignee: Thomas E Enebo


When using ZenTest's autotest it throughs this exceptions
/usr/local/share/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:56:in 
`get_proxy_or_package_under_package': invalid package module (ArgumentError)
        from 
/usr/local/share/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:56:in 
`method_missing'

The ZenTest code is this one.  It simply gets the name of all the modules
ObjectSpace.each_object(Module) { |m| m.name }

The line of JRuby that causes the problems is this one
JavaUtilities.get_proxy_or_package_under_package self, sym
Here are the parameters that are passed in.
sym: name
sym class: Symbol
self: JavaPackageModuleTemplate
self class: Module

-- 
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


Reply via email to