Open
Description
Describe the bug
In AWS JDK V2, when a client is interrupted, it does not clears the Interrupted Flag. However, there is a comment stating that it does.
In AWS JDK V1, there interrupted status is indeed cleared.
Please ensure that V2 maintains the same behavior and clear the flag. This will help migrations from V1 to V2.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
The Interrupt flag should be cleared.
Current Behavior
The Interrupt flag is not cleared.
Reproduction Steps
Provided code samples in description.
Possible Solution
Provided suggesting in description.
Additional Information/Context
No response
AWS Java SDK version used
2
JDK version used
17
Operating System and version
Linux