We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 OpenJDK 64-Bit Server VM 25.144-b01 on 1.8.0_144-b01 +jit [OpenBSD-x86_64]
Also verified on:
jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 Java HotSpot(TM) 64-Bit Server VM 25.131-b11 on 1.8.0_131-b11 +jit [mswin32-x86_64]
Unlikely to be operating system or java version specific.
JRuby 9.2.0.0 should only warn about BigDecimal.new when run in verbose mode, as CRuby does:
BigDecimal.new
$ ruby -r bigdecimal -e 'p BigDecimal.new("1")' 0.1e1 $ ruby -vr bigdecimal -e 'p BigDecimal.new("1")' ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-openbsd] -e:1: warning: BigDecimal.new is deprecated; use Kernel.BigDecimal method instead. 0.1e1
JRuby 9.2.0.0 warns about BigDecimal.new even in non-verbose mode:
$ jruby -r bigdecimal -e 'p BigDecimal.new("1")' -e:1: warning: BigDecimal.new is deprecated 0.1e1 $ jruby -vr bigdecimal -e 'p BigDecimal.new("1")' jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 OpenJDK 64-Bit Server VM 25.144-b01 on 1.8.0_144-b01 +jit [OpenBSD-x86_64] -e:1: warning: BigDecimal.new is deprecated 0.1e1
The text was updated successfully, but these errors were encountered:
98abdb4
No branches or pull requests
Environment
Also verified on:
Unlikely to be operating system or java version specific.
Expected Behavior
JRuby 9.2.0.0 should only warn about
BigDecimal.new
when run in verbose mode, as CRuby does:Actual Behavior
JRuby 9.2.0.0 warns about
BigDecimal.new
even in non-verbose mode:The text was updated successfully, but these errors were encountered: