mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-20 10:27:52 +00:00
8376760: VerifyJimage.java#compare intermittent failed with fastdebug
Reviewed-by: liach, alanb
This commit is contained in:
parent
1069ccebcc
commit
7e8fad625a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -145,15 +145,9 @@ public abstract class VerifyJimage implements Runnable {
|
||||
pool.execute(new ModuleResourceComparator(rootDir, modName, jimage));
|
||||
}
|
||||
}
|
||||
pool.shutdown();
|
||||
if (!pool.awaitTermination(20, TimeUnit.SECONDS)) {
|
||||
failed.add("Directory verification timed out");
|
||||
}
|
||||
pool.close();
|
||||
} catch (IOException ex) {
|
||||
throw new UncheckedIOException(ex);
|
||||
} catch (InterruptedException e) {
|
||||
failed.add("Directory verification was interrupted");
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user