in src/main/java/org/apache/commons/pool3/impl/SecurityManagerCallStack.java [105:121]
public boolean printStackTrace(final PrintWriter writer) {
final Snapshot snapshotRef = this.snapshot;
if (snapshotRef == null) {
return false;
}
final String message;
if (dateFormat == null) {
message = messageFormat;
} else {
synchronized (dateFormat) {
message = dateFormat.format(Long.valueOf(snapshotRef.timestampMillis));
}
}
writer.println(message);
snapshotRef.stack.forEach(reference -> writer.println(reference.get()));
return true;
}