src/share/classes/sun/rmi/log/ReliableLog.java
Print this page
rev 3756 : 6896297: (rmi) fix ConcurrentModificationException causing TCK failure
Reviewed-by: XXX
*** 378,390 ****
try {
handler.snapshot(out, value);
} catch (IOException e) {
throw e;
} catch (Exception e) {
! throw new IOException("snapshot failed with exception of type: " +
! e.getClass().getName() +
! ", message was: " + e.getMessage());
}
lastSnapshot = System.currentTimeMillis();
} finally {
out.close();
snapshotBytes = snapshotFile.length();
--- 378,388 ----
try {
handler.snapshot(out, value);
} catch (IOException e) {
throw e;
} catch (Exception e) {
! throw new IOException("snapshot failed", e);
}
lastSnapshot = System.currentTimeMillis();
} finally {
out.close();
snapshotBytes = snapshotFile.length();