Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8241951: SA core file tests failed to find core file for signed binar…
…ies on OSX 10.15

Reviewed-by: amenkov, dcubed
  • Loading branch information
plummercj committed Aug 10, 2020
1 parent 4a21d0d commit 3dc1bed61695f37ceadcbd23f303db9f10f76c1e
Showing 1 changed file with 8 additions and 0 deletions.
@@ -135,6 +135,14 @@ public static String getCoreFileLocation(String crashOutputString) throws IOExce
if (!coresDir.canWrite()) {
throw new SkippedException("Directory \"" + coresDir + "\" is not writable");
}
if (Platform.isSignedOSX()) {
if (Platform.getOsVersionMajor() > 10 ||
(Platform.getOsVersionMajor() == 10 && Platform.getOsVersionMinor() >= 15))
{
// We can't generate cores files with signed binaries on OSX 10.15 and later.
throw new SkippedException("Cannot produce core file with signed binary on OSX 10.15 and later");
}
}
} else if (Platform.isLinux()) {
// Check if a crash report tool is installed.
File corePatternFile = new File(CORE_PATTERN_FILE_NAME);

0 comments on commit 3dc1bed

Please sign in to comment.