We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f623aa6 commit f53eac2Copy full SHA for f53eac2
log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/ThrowableStackTraceRenderer.java
@@ -268,7 +268,11 @@ static final class Metadata {
268
final int stackLength;
269
270
/**
271
- * The stack trace of this {@link Throwable}
+ * The stack trace of this {@link Throwable}.
272
+ * This needs to be captured separately since {@link Throwable#getStackTrace()} can change.
273
+ *
274
+ * @see <a href="https://github.com/apache/logging-log4j2/issues/3940">#3940</a>
275
+ * @see <a href="https://github.com/apache/logging-log4j2/pull/3955">#3955</a>
276
*/
277
final StackTraceElement[] stackTrace;
278
0 commit comments