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

java warning while executing stendhal starter #405

Open
rzejek opened this issue Dec 30, 2021 · 5 comments
Open

java warning while executing stendhal starter #405

rzejek opened this issue Dec 30, 2021 · 5 comments
Labels
component: javaclient Related to the Java client.

Comments

@rzejek
Copy link

rzejek commented Dec 30, 2021

Hi, I have these warnings when I start stendhal-starter.jar

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by games.stendhal.client.gui.Initializer (file:/games/stendhal/lib/stendhal.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of games.stendhal.client.gui.Initializer
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

I'm using linux and my java version is:
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment 11.0.13 (build 11.0.13+1)
OpenJDK 64-Bit Server VM 11.0.13 (build 11.0.13+1, mixed mode)

@tigertoes13
Copy link
Contributor

thank you for reporting this... someone more in-the-know will look at it and take proper steps...

@AntumDeluge
Copy link
Member

@rzejek Does the client start?

I have seen these warnings before. Not sure what needs to be done at this point to fix them, but I think it is alright to ignore them for the time being, as long as the client starts up okay.

Thank you for the report.

@AntumDeluge
Copy link
Member

Found the same issue reported here: https://sourceforge.net/p/arianne/bugs/5981/

It appears that it is not an issue to worry about. I suppose the warning is written into the Java VM.

@rzejek
Copy link
Author

rzejek commented Jan 1, 2022

Yes, the client starts and works fine.
I didn't know there is another discussion thread on sourceforge with this topic.
Sorry.

@AntumDeluge
Copy link
Member

It's okay. I didn't know either. I just happened to come across it after reading this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: javaclient Related to the Java client.
Projects
None yet
Development

No branches or pull requests

3 participants