Illegal reflective access operation warning occurs when using java.net.URL setRequestMethod

Just so you don’t get too worried, you safely ignore these warnings for some period of time. The code keeps working. It’s just that after Java 9 some things are more strict.

Unfortunately, I’m also clueless on how to fix this issue :frowning:

1 Like