-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoload of module broken for Ruby subclass of Java class #3669
Comments
The example has been tested with activesupport 4.2.5.1:
|
I have added a temporary repository with the example files at https://github.com/DatekWireless/jruby_issue_3669 . |
Successfully tested with JRuby 1.7.24 as well:
Output:
|
Issue confirmed on master as well:
|
|
Thanks @kares ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is biting us in production.
Upgraded an app from JRuby 9.0.1.0 to 9.0.5.0, but the regression is present already in 9.0.2.0.
Given the following files, we get the output below:
test_autoload.rb:
class_a.rb:
class_b.rb:
JavaClass.java:
module_c.rb:
Compile the Java class with
Run with
Output
With 9.0.2.0:
Output
And with 9.0.5.0:
Output
I would expect JRuby to load the ModuleC module like it used to.
The text was updated successfully, but these errors were encountered: