Warning in SFS2X 2.18.2

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Warning in SFS2X 2.18.2

Postby Ardito » 12 May 2022, 12:41

Hello,
When I start the SFS2X 2.18.2 server I get these warnings for what, in version 2.17.2 I did not receive them. How can I fix them?

Code: Select all

14:43:11,707 INFO  [main] v2.SmartFoxServer     - Boot sequence starts...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/E:/Programmi%20Lavoro/SmartFoxServer_2X/SFS2X/lib/xstream-1.3.1.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
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

Best Regards
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Warning in SFS2X 2.18.2

Postby Lapo » 12 May 2022, 14:15

Hi,
there is nothing to fix. Version 2.18 uses Java 11 instead of Java 8 and the warning is "part of the package". It doesn't affect SFS2X. It's just a warning about future Java releases where reflection across modules will be considered illegal.

More details here:
http://docs2x.smartfoxserver.com/Advanc ... patibility

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Ardito
Posts: 128
Joined: 12 Sep 2016, 11:26
Location: Italy

Re: Warning in SFS2X 2.18.2

Postby Ardito » 12 May 2022, 17:13

OK thanks

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 41 guests