Keep or disable Java package modules for 0.9.9?
-----------------------------------------------
Key: JRUBY-865
URL: http://jira.codehaus.org/browse/JRUBY-865
Project: JRuby
Issue Type: New Feature
Affects Versions: JRuby 0.9.9
Reporter: Bill Dortch
Assignee: Thomas E Enebo
Attachments: disable_java_modules.patch,
enable_class_name_display.patch
I'm not sure there was a decision on this. As I noted somewhere in the
JRUBY-814 thread, I now favor dropping the module approach, and just enabling a
simple display of class names.
Either way, I don't think there was really a decision. I'm concerned that if
we leave the module approach in there for 0.9.9, some users might write code
that relies on it. So I've attached two patches.
1. disable_java_modules.patch turns off the package-as-module behavior for the
time being.
2. enable_class_name_display.patch turns on Java class name display when
classes are listed:
{noformat}
irb(main):003:0> JFrame.ancestors
=> [JFrame, Java::java.awt.Frame, Java::java.awt.Window,
Java::java.awt.Container,
Java::java.awt.Component, Java::java.lang.Object, ConcreteJavaProxy, JavaProxy,
Object, Java, Kernel]
{noformat}
Mix and match as appropriate.
-Bill
--
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