JavaIO replaces JRuby File warning during freemarker init

Bug #633621 reported by Chris Tusa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegard
Confirmed
Low
Chris Tusa

Bug Description

During 'Telegard.init', a warning is displayed during loading. This occurs once during runtime. Although the warning can be suppressed by passing a flag to the jruby interpreter, this should be corrected if possible.

Database Models Initialized OK..............................[DONE]
Loading FreeMarker+TG template engine......................./media/OCZ4-XFS-DEV/devel/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/core_ext/module.rb:35 warning: replacing File with Java::JavaIo::File in constant 'File on class/module JavaIO
[DONE]
Loading Master Controller...................................[DONE]

The code causing this seems to be:

class Template
   def initialize(filename)
      @tout = JavaIO::OutputStreamWriter.new(JavaLang::System.out);

Here is the JRUBY Module for JavaIO
module JavaIO
    include_package "java.io"
end

Chris Tusa (chris-tusa)
Changed in telegard:
assignee: nobody → Chris Tusa (chris-tusa)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.