Skip to content

Commit

Permalink
Enhance the check of envTf variable
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Nov 27, 2024
1 parent 262e459 commit a7cbe2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/openj9/envInfo/JavaInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public String getTestFlag() {
checkJFR();
String envTf = System.getenv("TEST_FLAG");
String paddedTf = null;
if (envTf != null) {
if (envTf != null && !envTf.isEmpty()) {
testFlag = envTf;
paddedTf = "," + envTf + ",";
}
Expand Down

0 comments on commit a7cbe2c

Please sign in to comment.