You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to make a PATCH request (sendPayload method call), the following warning message is output:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.messagebird.MessageBirdServiceImpl (file:/Users/bensweeney23/dev/java-rest-api/examples/target/examples-3.0.6-jar-with-dependencies.jar) to field java.net.HttpURLConnection.methods
WARNING: Please consider reporting this to the maintainers of com.messagebird.MessageBirdServiceImpl
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
The issue appears to originate from inside of the allowPatchRequestsIfNeeded method, which does the following:
Field methodsField = HttpURLConnection.class.getDeclaredField("methods");
methodsField.setAccessible(true);
This didn't cause issues for me using the SDK, but it could for future users!
The text was updated successfully, but these errors were encountered:
When attempting to make a
PATCH
request (sendPayload
method call), the following warning message is output:The issue appears to originate from inside of the
allowPatchRequestsIfNeeded
method, which does the following:This didn't cause issues for me using the SDK, but it could for future users!
The text was updated successfully, but these errors were encountered: