Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.5, JRuby 1.1.6
-
Fix Version/s: JRuby 1.5
-
Component/s: Core Classes/Modules
-
Labels:None
-
Testcase included:yes
Description
src/main.rb has:
require 'foo-bar' FooBar.new
src/foo-bar.rb has:
class FooBar end
src is on the load path.
The error:
Java::OrgJrubyExceptions::RaiseException - org.jruby.exceptions.RaiseException: Linkage error loading compiled script; you may need to recompile 'file:/Users/logan/dev/sandbox/mb-main-missing-test/package/jar/ChangeMe.jar!/main.class': java.lang.NoClassDefFoundError: foo_minus_bar (wrong name: src/foo_minus_bar) src/main.rb:50:in `require': Linkage error loading compiled script; you may need to recompile 'file:/Users/logan/dev/sandbox/mb-main-missing-test/package/jar/ChangeMe.jar!/main.class': java.lang.NoClassDefFoundError: foo_minus_bar (wrong name: src/foo_minus_bar) (LoadError)
This problem affects me also, same behavior.