JRuby can't access nested Java class if the class is called 'id'
----------------------------------------------------------------

                 Key: JRUBY-5866
                 URL: http://jira.codehaus.org/browse/JRUBY-5866
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.6.2
         Environment: Android 3.1, ruboto-core master
            Reporter: Uwe Kubosch


Hi!

I need to access

{noformat}
android.R.id.home

or

android.R::id.home
{noformat}

This is a standard constant in Android. "id" is an inner class of android.R.

I am able to access the class using

{noformat}
JavaUtilities.get_proxy_class('android.R$id').home
{noformat}

so I have an acceptable workaround, but JRUBY-4666 states I should be able to 
access the class without using JavaUtilities.

Any way to do this?


--
This message is automatically generated by JIRA.
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