Skip to content

Commit 31f7672

Browse files
author
Andrian Sevastyanov
committed
Improve status wording and update release notes
1 parent 1a425f5 commit 31f7672

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: detector/src/main/java/com/synopsys/integration/detector/base/DetectorStatusCode.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public enum DetectorStatusCode {
88
EXCLUDED("Detector type was excluded."),
99
EXECUTABLE_FAILED("During extraction, one or more executables did not execute successfully."),
1010
EXTRACTION_FAILED("During extraction, one or more exceptions were encountered."),
11-
EXECUTABLE_TERMINATED_LIKELY_OUT_OF_MEMORY("An executable was terminated likely by the runtime environment due to low memory."),
11+
EXECUTABLE_TERMINATED_LIKELY_OUT_OF_MEMORY("An executable was terminated, potentially due to a runtime environment low memory condition."),
1212
EXECUTABLE_NOT_FOUND("The necessary executable was not found."),
1313
EXECUTABLES_NOT_FOUND("The necessary executables were not found."),
1414
FAILED("Detector failed."),

Diff for: documentation/src/main/markdown/currentreleasenotes.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* npm 6, which was deprecated in [solution_name] 8.x, is no longer supported.
1010
* [solution_name] 7.x has entered end of support. See the [Product Maintenance, Support, and Service Schedule page](https://sig-product-docs.synopsys.com/bundle/blackduck-compatibility/page/topics/Support-and-Service-Schedule.html) for further details.
1111
* (IDETECT-3879) The detectors\[N\].statusReason field of the status.json file will now contain the exit code of the detector subprocess command in cases when the code is non-zero.
12+
In the case of subprocess exit code 137, the detectors\[N\].statusCode and detectors\[N\].statusReason fields will be populated with a new status indicating a likely out-of-memory issue.
1213
* In addition to node_modules, bin, build, .git, .gradle, out, packages, target, the Gradle wrapper directory `gradle` will be excluded from signature scan by default. Use
1314
[detect.excluded.directories.defaults.disabled](properties/configuration/paths.md#detect-excluded-directories-defaults-disabled-advanced) to disable these defaults.
1415

0 commit comments

Comments
 (0)