scripting java: unable to access non static final variables
-----------------------------------------------------------

                 Key: JRUBY-5105
                 URL: http://jira.codehaus.org/browse/JRUBY-5105
             Project: JRuby
          Issue Type: Bug
         Environment: jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 
f3a3480) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
            Reporter: Roger Pack
            Assignee: Thomas E Enebo


re: http://www.ruby-forum.com/topic/216633#new


load_em.rb:47: uninitialized constant
Java::OrgFamilysearchDigitalarchiveTapeingestreader::TapeIngestConstants::CONFIG_FILE_PATH
(NameError)

the string attempted to be accessed in question looks like this:

public class TapeIngestConstants {
  static String CONFIG_FILE_PATH = "/etc/opt/das/tapeingestreader.cfg";
}

I'd expect that it needn't be final to be accessible?


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