Roger Pack created JRUBY-6337:
---------------------------------
Summary: poor error message on importing java class
Key: JRUBY-6337
URL: https://jira.codehaus.org/browse/JRUBY-6337
Project: JRuby
Issue Type: Improvement
Environment: jruby 1.7.0.dev (ruby-1.8.7-p357) (2012-01-01 de4556e)
(Java HotSpot(TM) 64-Bit Server VM 1.7.0_02) [Windows 7-amd64-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
require 'java'
module M
Session = javax.mail.Session
end
results in the (somewhat misleading) error message:
NameError: uppercase package names not accessible this way
(`javax.mail.Session')
Suggestion:
change error message to "or class does not exist" or the like.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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