No direct access via package modules to classes and interfaces
--------------------------------------------------------------
Key: JRUBY-920
URL: http://jira.codehaus.org/browse/JRUBY-920
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.0.0RC1
Reporter: Charles Oliver Nutter
Priority: Blocker
Fix For: JRuby 1.0.0
After adding support for interfaces-as-modules, we found that a const_missing
definition in that code was breaking rails. The purpose of it was to allow
access to packages like JavaLang::Runnable to get at the Runnable interface,
for example. We would like to re-expose this behavior in one of three ways:
# The original way
# With a module per package element, as in Java::Lang::Runnable (this may not
work because we can't distinguish classes and modules)
# Using the lower-case package naming with double-colons, as in
java::lang::Runnable (this has the added advantage that we can use it in class
reopening, like class java::lang::Runnable)
Need a solution for 1.0. My vote goes for the third option.
--
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