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

Fix illegal reflective access #23

Open
x3ntrix opened this issue Dec 23, 2021 · 1 comment
Open

Fix illegal reflective access #23

x3ntrix opened this issue Dec 23, 2021 · 1 comment

Comments

@x3ntrix
Copy link

x3ntrix commented Dec 23, 2021

When running the plugin with Java > 8, it reports this warning:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/C:/Users/CIUser/.sonar/cache/a4ec2f3af08969606e86a41958fd4a7a/sonar-delphi-plugin.jar_unzip/META-INF/lib/xstream-1.4.11.jar) to field java.util.TreeMap.comparator
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

By default, only the first access is printed. Therefore, there could be more problems.
With Java >= 16 the access is denied by default and the code probably fails.

@x3ntrix
Copy link
Author

x3ntrix commented Dec 23, 2021

Issue in the xstream repository: x-stream/xstream#101

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

1 participant