Skip to content
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

Incorrect warning line #5976

Closed
yamam opened this issue Nov 21, 2019 · 1 comment
Closed

Incorrect warning line #5976

yamam opened this issue Nov 21, 2019 · 1 comment

Comments

@yamam
Copy link

yamam commented Nov 21, 2019

Environment

jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3 on 11.0.4+11-post-Ubuntu-1ubuntu218.04.3 +jit [linux-x86_64]

Expected Behavior

Warning line is correct in 9.1.17.0.

./jruby-9.1.17.0/bin/jruby.bash -e '1 if a = true'
-e:1: warning: found = in conditional, should be ==

Actual Behavior

Warning line is incorrect from 9.2.0.0 to 9.2.9.0.

./jruby-9.2.0.0/bin/jruby.bash -e '1 if a = true'
-e:15: warning: found = in conditional, should be ==
./jruby-9.2.9.0/bin/jruby.bash -e '1 if a = true'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
-e:15: warning: found = in conditional, should be ==
@enebo
Copy link
Member

enebo commented Nov 22, 2019

15! wow that is weird.

@enebo enebo closed this as completed in 8ffe5df Dec 3, 2019
@enebo enebo added this to the JRuby 9.2.10.0 milestone Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants