jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-2820

Most Etc methods behave diferently on Windows under x32 and x64 JVMs

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.2
  • Fix Version/s: JRuby 1.2
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Environment:
    Latest JRuby 1.1.3-dev on Windows Vista x64.

Description

Most of etc methods return nil on Windows on x32 JDK, but raise NotImplementedError on the same PC with x64 JDK. Not consistent.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Daniel Berger added a comment - 17/Jul/08 10:26 PM

IMO, raising NotImplementedError is the correct behavior because they're not actually implemented. I wouldn't consider it a major issue either way, though. The only method that works on Windows is Etc.getlogin.

See the sys-admin library for a better, cross platform version of Etc.

Show
Daniel Berger added a comment - 17/Jul/08 10:26 PM IMO, raising NotImplementedError is the correct behavior because they're not actually implemented. I wouldn't consider it a major issue either way, though. The only method that works on Windows is Etc.getlogin. See the sys-admin library for a better, cross platform version of Etc.
Hide
Permalink
Charles Oliver Nutter added a comment - 08/Feb/09 12:05 PM

This appears to be working; I received confirmation from Daniele Alessandri over Twitter that x64 version does not raise Notimplemented anymore.

Show
Charles Oliver Nutter added a comment - 08/Feb/09 12:05 PM This appears to be working; I received confirmation from Daniele Alessandri over Twitter that x64 version does not raise Notimplemented anymore.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Vladimir Sizikov
Vote (0)
Watch (2)

Dates

  • Created:
    17/Jul/08 7:41 AM
    Updated:
    21/Mar/09 1:14 PM
    Resolved:
    08/Feb/09 12:05 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.