-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 9: "Illegal reflective access by com.amazonaws.util.XpathUtils" #1603
Comments
Thanks for reporting. We might not be able get to this soon for V1 but we will definitely look into it for V2 if this issue also occurs in v2 (https://github.com/aws/aws-sdk-java-v2) |
We use AWS in many of our tests and we see this set of warnings all the time. It's suboptimal for maintaining a culture of clean logs and sensitivity to warnings. Devs will soon start subconsciously ignoring them and any other (perhaps more severe) potential warnings. |
I am getting this warning with OpenJDK 11 (without any |
I kindly ask to backport the change to V1. My company has a lot of code that requires V1 to run and migration to V2 would mean additional costs. I assume it's not a feasible option for other companies that use the SDK as well. |
@meshuga I'm facing the same problem as you. I'm not sure, but maybe this option will be available for all OpenJDK versions in the future. This makes public all elements of the "illegal" access of aws-sdk-java v1:
|
This solution does not seem to work for me, I also trying exporting. Did you manage to get it working? |
I got the following warning, running on Java 9 (running with
--illegal-access=debug
to get the stack trace):This should be fixed, since the warning will turn into exceptions in subsequent Java versions.
The text was updated successfully, but these errors were encountered: