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-263

Accessing static properties should work like access to nonstatic properties

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 0.9.9
  • Component/s: None
  • Labels:
    None
  • Testcase included:
    yes

Description

JRuby does a fine job of wrapping Java's nonstatic get/set methods as properties. For consistency, the same should be done w/ static properties, e.g.

include_class 'java.lang.Runtime'
Runtime.getRuntime # works fine
Runtime.runtime # does not work atm, but should

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    staticpropertytest.rb
    17/Nov/06 1:14 AM
    0.4 kB
    Antti Karanta

Issue Links

is superceded by

Bug - A problem which impairs or prevents the functions of the product. JRUBY-814 Multiple improvements to Java integration (was: Java method get lost.)

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Charles Oliver Nutter added a comment - 20/Apr/07 12:28 AM

Bill's fix for JRUBY-814 appears to also fix this issue.

Show
Charles Oliver Nutter added a comment - 20/Apr/07 12:28 AM Bill's fix for JRUBY-814 appears to also fix this issue.
Hide
Permalink
Charles Oliver Nutter added a comment - 20/Apr/07 1:20 PM

This will be fixed when we commit the JRUBY-814 patch some time today. Watch that bug for updates.

Show
Charles Oliver Nutter added a comment - 20/Apr/07 1:20 PM This will be fixed when we commit the JRUBY-814 patch some time today. Watch that bug for updates.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Antti Karanta
Vote (0)
Watch (1)

Dates

  • Created:
    17/Nov/06 1:14 AM
    Updated:
    30/Apr/07 3:11 AM
    Resolved:
    20/Apr/07 1:20 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.