Allow visible fields from inherited Java classes show up as instance variables 
(@foo)
-------------------------------------------------------------------------------------

                 Key: JRUBY-1572
                 URL: http://jira.codehaus.org/browse/JRUBY-1572
             Project: JRuby
          Issue Type: New Feature
          Components: Java Integration
    Affects Versions: JRuby 1.1b1
            Reporter: Thomas E Enebo
             Fix For: JRuby 1.x


If I have a Java class:

{noformat}
public class Foo {
   protected int color;
   ...
}
{noformat}

Then I inherit from it in Ruby:

{noformat}
class Bar < Foo
   def paintIt
      @color
   end
end
{noformat}

@color should exist which is the inehrited field.

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

Reply via email to