diff options
author | Tobias Thierer <tobiast@google.com> | 2017-12-22 16:35:08 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2018-03-29 11:59:24 +0100 |
commit | ba5456f96ffc8fb426942d969a41ce42edda3195 (patch) | |
tree | 810c0d71d2cd932b61feb77a350b6446451b373c /annotations/generate_annotated_java_files.py | |
parent | bf9752dd9f70e6df32e8ecf9316ff523bf570774 (diff) |
Verify sun.nio.{ch.PollSelectorImpl,fs.UnixFileStore}.
Integrate forgotten sun.nio.* fixes between OpenJDK 8u60 and 8u121-b13.
This applies upstream fixes that were backported to OpenJDK 8u72 but
were forgotten to apply when updating libcore from 8u60 to 8u121-b13.
1.) JDK-8130274 : java/nio/file/FileStore/Basic.java fails when two
successive stores in an iteration are determined to be equal
Change UnixFileStore.equals() to consider entry.name() from equals();
hashCode() continues to not consider it.
2.) JDK-8138819 : (se) File descriptor leak when Selector.open fails
Close file descriptors on exception path in PollSelectorImpl ctor.
After this CL, the files touched by this CL are exactly identical to
the versions in OpenJDK 8u121-b13. Constructing a regression test case
for these fixes is too complicated to be worthwhile; therefore
regression test coverage for these changes is omitted.
Test: Treehugger
Bug: 74377400
Change-Id: I4de35072875b76d74dd463a93781807f0da250c4
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions