Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 97102
BY: Russell Teabeault (rteabeault)
DATE: 2011-10-30 23:00
SUBJECT: already initialized constant warning

 

I am using Rjb to load the oracle 11g thin driver

require 'rjb'
Rjb::load(classpath='<path>/ojdbc16-11.2.0.1.0.jar')
Rjb::import('oracle.jdbc.OracleDriver')

The import causes the following warnings to occur:
warning: already initialized constant BUILD_DATE
warning: already initialized constant TRACE
warning: already initialized constant PRIVATE_TRACE

I can see that these are static fields on the oracle.jdbc.OracleDriver class but why the warnings. Is this a bug? Is there a workaround to git rid of the warnings?

Thanks,

-russ


Thread View

Thread Author Date
already initialized constant warningRussell Teabeault2011-10-30 23:00
      RE: already initialized constant warningarton Tajima2011-10-30 23:42

Post a followup to this message