Mixed-case Java package name not resolved
-----------------------------------------
Key: JRUBY-6076
URL: https://jira.codehaus.org/browse/JRUBY-6076
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.6.4
Reporter: Fred Loney
Attachments: mixed_case_test.rb
Referencing a Java class with a mixed-case package name, e.g.
Java::mixed.Case.Example, fails. Although a mixed-case package violates the
Java naming standard, it is legal. The use case is integration with existing
Java code that cannot be modified.
Test case:
1. Make a jar file with the trivial Java class:
package mixed.Case;
public class Example
{
}
2. require the jar file
3. Java::mixed.Case.Example #=> NameError
--
This message is automatically generated by JIRA.
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