mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-25 21:07:57 +00:00
8075569: jmap test fails due to "ERROR: java.nio.file.NoSuchFileException: 2906081d-06bc-4738-a7e8-f37b8bf13658.lck"
Lock file is deleted while we are setting modified time Reviewed-by: alanb
This commit is contained in:
parent
35c411ea7e
commit
7e09df43e6
@ -417,7 +417,9 @@ public class LingeredApp {
|
||||
setLastModified(theLockFileName, epoch());
|
||||
Thread.sleep(spinDelay);
|
||||
}
|
||||
|
||||
} catch (NoSuchFileException ex) {
|
||||
// Lock deleted while we are setting last modified time.
|
||||
// Ignore error and lets the app exits
|
||||
} catch (Exception ex) {
|
||||
System.err.println("LingeredApp ERROR: " + ex);
|
||||
// Leave exit_code = 1 to Java launcher
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user