No longer finding java constants in 1.5.0.RC1
---------------------------------------------
Key: JRUBY-4744
URL: http://jira.codehaus.org/browse/JRUBY-4744
Project: JRuby
Issue Type: Bug
Components: Compiler
Affects Versions: JRuby 1.5.0.RC1
Environment: jruby 1.5.0.RC1 (ruby 1.8.7 patchlevel 249) (2010-04-14
0b08bc7) (Java HotSpot(TM) Client VM 1.6.0_17) [x86-java]
Windows XP
Reporter: Jeff Barczewski
Priority: Blocker
Attachments: hello.java, test_constant.rb
New version of jruby 1.5.0.rc1 no longer finds java constants. Test case
attached. This works fine in jruby-1.4.0.
---- in foo/hello.java ----
package foo;
class Hello {
public final static String WORLD = "World";
}
---- jirb ---
irb(main):001:0> include Java
=> Object
irb(main):002:0> import "foo.Hello"
=> Hello
irb(main):003:0> Hello::WORLD
NameError: uninitialized constant Hello::WORLD
from (irb):3
--
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