Use java_import instead of import#10
Use java_import instead of import#10perlun wants to merge 1 commit intodekellum:devfrom perlun:patch-1
Conversation
The `import` statement is apparently deprecated: https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby#using-a-java-class-without-the-full-path-name, so this would be the recommended approach these days I'd guess.
|
@dekellum - could this be merged? |
|
If JRuby's |
|
Hi, From the page I linked:
JRUBY-3171 has more information, but unfortunately the Codehaus services are shutdown since a few years so I cannot give you the link. But funnily enough, you wrote about it 8 years ago:
This is the conflicting method in Rake: http://apidock.com/ruby/Rake/DSL/import, which is why the JRuby people started moving away from (I'm fine with you wanting to fix this in a more uniform way. Thanks for letting us know.) |
The
importstatement is apparently deprecated: https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby#using-a-java-class-without-the-full-path-name, so this would be the recommended approach these days I'd guess.