Still can't use Java class with lowercase name ----------------------------------------------
Key: JRUBY-2566 URL: http://jira.codehaus.org/browse/JRUBY-2566 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.1.1 Environment: Windows Vista x64 JRuby 1.1.1 Java 1.6 Reporter: Bob Tolbert Bug JRUBY-781 was a bug in a 1.1 release candidate that is supposedly fixed. The attached files show that in 1.1.1, you still can't use Java classes with lowercase names. I've attached 2 simple Java classes A and b plus a simple test.rb file that to use them. A.java -------- public class A { public A() { System.err.println("A ctor"); } } b.java ---------- public class b { public b() { System.err.println("b ctor"); } } test.rb ------------ require "java" include_class "A" include_class "b" a_instance = A.new b_instance = b.new result: ------------- $ jruby test.rb A ctor test.rb:6: undefined local variable or method `b' for main:Object (NameError) -- 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