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

Get rid of warnings when OpenJDK is used #27

Open
wwalc opened this issue May 10, 2019 · 3 comments
Open

Get rid of warnings when OpenJDK is used #27

wwalc opened this issue May 10, 2019 · 3 comments

Comments

@wwalc
Copy link
Member

wwalc commented May 10, 2019

No description provided.

@Comandeer
Copy link
Member

openjdk 12.0.1:

Generating plugins sprite image
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.mozilla.javascript.MemberBox (file:/Users/comandeer/repos/ckeditor/ckeditor-presets/ckbuilder/2.3.2/ckbuilder.jar) to method sun.java2d.SunGraphics2D.drawImage(java.awt.Image,int,int,java.awt.image.ImageObserver)
WARNING: Please consider reporting this to the maintainers of org.mozilla.javascript.MemberBox
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

@wwalc
Copy link
Member Author

wwalc commented May 10, 2019

Humm it looks like we'd need to wait for mozilla/rhino#462 to be resolved.

@botic
Copy link

botic commented Aug 7, 2020

Ah, just ran into the same on Java 11:

     [java] WARNING: Illegal reflective access by org.mozilla.javascript.MemberBox (file:/Users/philipp/Code/ringojs/lib/ivy/rhino-1.7.12.jar) to method sun.nio.cs.UTF_8.newEncoder()
     [java] WARNING: Please consider reporting this to the maintainers of org.mozilla.javascript.MemberBox
     [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
     [java] WARNING: All illegal access operations will be denied in a future release

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

3 participants