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 549650e commit fe47670Copy full SHA for fe47670
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