Unable to access non final static variables?

Hi all.
Noticed this:
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”;
}

Is this expected? (I had to make it final or it was no longer accessible
in Ruby-- non-final static variables don’t seem to work).

Thanks!
-r

And another oddity:

With this method:

public class DasServiceClientImpl2 {

private ApiConnection setupCopyOfConnectionForThreadSafety() {
}
}

I’m able to see it and call it from within jruby with no warnings.
Shouldn’t it be invisible, or be listed as a private method instead, or
what not?
-r

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs