JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-6585

"warning: loading in progress, circular require considered harmful" warnings

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: None
    • Component/s: Ruby 1.9.3
    • Labels:
    • Number of attachments :
      0

      Description

      ~/Code/rails/rails/actionpack[master*] λ bundle exec rake test
      

      Produces following warnings

      /Users/anil.wadghule/.rvm/rubies/jruby-head/lib/ruby/shared/jruby.rb:1 warning: loading in progress, circular require considered harmful - java
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/.rvm/rubies/jruby-head/lib/ruby/shared/jruby.rb:1
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/.rvm/rubies/jruby-head/lib/ruby/shared/jruby.rb:1
         require at org/jruby/RubyKernel.java:991
          (root) at file:/Users/anil.wadghule/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
         require at org/jruby/RubyKernel.java:991
          (root) at file:/Users/anil.wadghule/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/java/java_ext.rb:41
         require at org/jruby/RubyKernel.java:991
          (root) at file:/Users/anil.wadghule/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/java.rb:34
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/.rvm/rubies/jruby-head/lib/ruby/shared/securerandom.rb:24
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/Code/rails/rails/activesupport/lib/active_support.rb:9
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/Code/rails/rails/activesupport/lib/active_support/ruby/shim.rb:6
         require at org/jruby/RubyKernel.java:991
          (root) at /Users/anil.wadghule/Code/rails/rails/actionpack/lib/abstract_controller.rb:25
         require at org/jruby/RubyKernel.java:991
      

        Issue Links

          Activity

            People

            • Assignee:
              Thomas E Enebo
              Reporter:
              Anil Wadghule
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: