Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"Illegal reflective access operation"  #6189

@abelsromero

Description

@abelsromero

Environment Information

Provide at least:

  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc)

9.2.11.1

  • Operating system and platform (e.g. uname -a)

Linux man-pc 5.6.6-1-MANJARO #1 SMP PREEMPT Tue Apr 21 07:46:00 UTC 2020 x86_64 GNU/Linux

Other relevant info you may wish to add:

  • Installed or activated gems

Using asciidoctor. All gems provided inside Java jars.

  • Application/framework version (e.g. Rails, Sinatra)

Maven

  • Environment variables

Expected Behavior

  • Describe your expectation of how JRuby should behave, perhaps by showing how CRuby/MRI behaves.

I assumed the message was normal, but seeing other issues in this repo, maybe is not? Any clarificaction will be greatly appreciated.

  • Provide an executable Ruby script or a link to an example repository.
  1. Clone: https://github.com/asciidoctor/asciidoctor-maven-examples
  2. Update jruby version in https://github.com/asciidoctor/asciidoctor-maven-examples/blob/81600e7ee04f4f1fab81ab9c466a65d557aa75c0/asciidoc-to-html-example/pom.xml#L17
  3. Place terminal in directory asciidoc-to-html-example and run mvn.

Actual Behavior

  • Describe or show the actual behavior.

This warrning appears during build

[INFO] --- asciidoctor-maven-plugin:2.0.0-RC.1:process-asciidoc (asciidoc-to-html) @ asciidoc-to-html-example ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/home/asalgadr/.m2/repository/org/jruby/jruby-complete/9.2.11.1/jruby-complete-9.2.11.1.jar) 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
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Rendered /home/asalgadr/github/asciidoctor-maven-examples/asciidoc-to-html-example/src/docs/asciidoc/example-manual.adoc
  • Provide text or screen capture showing the behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions