Skip to content

Commit

Permalink
Add a debug message to inform the Filter property value read.
Browse files Browse the repository at this point in the history
See more in https://mail.openjdk.org/pipermail/security-dev/2024-October/041800.html

Co-authored-by: Martin Balao Alonso <[email protected]>
Co-authored-by: Francisco Ferrari Bihurriet <[email protected]>
  • Loading branch information
martinuy and franferrax committed Jan 8, 2025
1 parent 73d75e9 commit 7889bd2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,12 @@ public String toString() {
static {
Filter tmpFilter = null;
String fStr = SecurityProperties.getOverridableProperty(FILTER_PROP);
if (debug != null) {
debug.println("Filter property value read at this point:");
for (StackTraceElement ste : new Exception().getStackTrace()) {
debug.println(" ".repeat(4) + ste);
}
}
if (fStr != null && !fStr.isEmpty()) {
tmpFilter = new Filter(fStr);
}
Expand Down

0 comments on commit 7889bd2

Please sign in to comment.