-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 24
-
Component/s: core-libs
-
b18
My colleague Sorin Basca reports:
java.util.prefs.FileSystemPreferences catches and handles an InterruptedException and fails to restore the interrupt status here:
https://github.com/openjdk/jdk/blob/64a79d898637e9255e6c1133dd684e272d84b95c/src/java.prefs/unix/classes/java/util/prefs/FileSystemPreferences.java#L959-L961
It should call `Thread.currentThread().interrupt();` to restore the interrupt status.
java.util.prefs.FileSystemPreferences catches and handles an InterruptedException and fails to restore the interrupt status here:
https://github.com/openjdk/jdk/blob/64a79d898637e9255e6c1133dd684e272d84b95c/src/java.prefs/unix/classes/java/util/prefs/FileSystemPreferences.java#L959-L961
It should call `Thread.currentThread().interrupt();` to restore the interrupt status.
- links to
-
Commit(master)
openjdk/jdk/9fc1c684
-
Review(master)
openjdk/jdk/20938