Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
      None
    • 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]
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      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.

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Fixed on master@6c3ca3f. I went with "capitalized package or class not found".

        Show
        Charles Oliver Nutter added a comment - Fixed on master@6c3ca3f. I went with "capitalized package or class not found".

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Roger Pack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: