Make import not complain if Java already has already imported the specific Java
class
-------------------------------------------------------------------------------------
Key: JRUBY-3453
URL: http://jira.codehaus.org/browse/JRUBY-3453
Project: JRuby
Issue Type: New Feature
Affects Versions: JRuby 1.2
Reporter: Thomas E Enebo
Assignee: Thomas E Enebo
{noformat}
jr -e 'require "java"; import java.util.Hashtable; import java.util.Hashtable'
{noformat}
The second import could be a no-op if it checks Java::* and see it is already
defined. This would make programmers need be less aware of importing...
--
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