You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/04/13 18:52:34 UTC
logging-log4j2 git commit: LOG4J2-1334 bugfix: ThrowableProxy is not
cached, getter method is called in LogEventProxy constructor
Repository: logging-log4j2
Updated Branches:
refs/heads/master 5f461a722 -> 89808ecbb
LOG4J2-1334 bugfix: ThrowableProxy is not cached, getter method is called in LogEventProxy constructor
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/89808ecb
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/89808ecb
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/89808ecb
Branch: refs/heads/master
Commit: 89808ecbbe50067ac3b5a1b60a38079002650d20
Parents: 5f461a7
Author: rpopma <rp...@apache.org>
Authored: Thu Apr 14 01:52:36 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Thu Apr 14 01:52:36 2016 +0900
----------------------------------------------------------------------
.../java/org/apache/logging/log4j/core/impl/MutableLogEvent.java | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/89808ecb/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
index 2e2626f..876ce58 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
@@ -190,7 +190,6 @@ public class MutableLogEvent implements LogEvent {
* @return a LogEventProxy.
*/
protected Object writeReplace() {
- getThrownProxy(); // ensure ThrowableProxy is initialized
return new Log4jLogEvent.LogEventProxy(this, this.includeLocation);
}