import 'java.lang' and similar break due to missing PackageSearch class
-----------------------------------------------------------------------

                 Key: JRUBY-3138
                 URL: http://jira.codehaus.org/browse/JRUBY-3138
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1.5, JRuby 1.1.4, JRuby 1.1.3, JRuby 1.1.2, JRuby 
1.1.1, JRuby 1.1
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.1.6


This appears to have been broken for a long time. I think we should just remove 
this import form since it was never complete/100%.

{noformat}
$ jruby -rjava -e "class Foo; import 'java.lang'; end; Foo::Runnable"
importing full package name is *highly* experimental...proceed with caution
/Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/builtin/java/ast.rb:80:in 
`get_proxy_or_package_under_package': cannot load Java class 
org.jruby.util.PackageSearch (NameError)
        from 
/Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:43:in
 `method_missing'
        from 
/Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/module.rb:39:in
 `import'
        from -e:1
{noformat}

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