HADOOP-17588. CryptoInputStream#close() should be synchronized.
Contributed by RenukaPrasad C Change-Id: Ia0a19ccc55a67e5434f0be23a500496bc7682f40
This commit is contained in:
parent
c4de4add5b
commit
30061940af
@ -317,7 +317,7 @@ private void resetStreamOffset(long offset) throws IOException {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public synchronized void close() throws IOException {
|
||||
if (closed) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user