Change-Id: I2f4c285d2b2f4bdb7a5d1a1026c131417066410dtags/v3.1.0.201309270735-rc1
@@ -93,7 +93,7 @@ public class TarFormat implements ArchiveCommand.Format<ArchiveOutputStream> { | |||
} | |||
entry.setSize(loader.getSize()); | |||
out.putArchiveEntry(entry); | |||
try { | |||
try { | |||
loader.copyTo(out); | |||
} finally { | |||
out.closeArchiveEntry(); |