Re: RFR JDK-8174996: jar leaves temporary file when exception occur in creating jar

2017-02-17 Thread Xueming Shen
On 2/16/17 4:54 PM, Paul Sandoz wrote: Can you use File.deleteOnExit instead of explicitly deleting? Hi Paul, What's the benefit of delaying the delete till vm exists? Another considerable alternative is to Files.deleteIfExists(tmpFile.toPath) with the benefit of throwing another IOExcepti

RE: rmid on Unix fails with Exception - maybe aftermath of JDK-8173607 ??

2017-02-17 Thread Langer, Christoph
Hi, great, it works, our rmid issue is gone. Thanks Claes for the fix and all for the quick help/resolution. Best regards Christoph > -Original Message- > From: Claes Redestad [mailto:claes.redes...@oracle.com] > Sent: Donnerstag, 16. Februar 2017 17:32 > To: Alan Bateman ; Daniel Fuchs