Repository: tomee Updated Branches: refs/heads/master 7bc8519e6 -> 26c3be0d5
don't create the stacktrace eagerly (+ it wouldnt bring much excepted a lot of noise in the logs) Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/26c3be0d Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/26c3be0d Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/26c3be0d Branch: refs/heads/master Commit: 26c3be0d5479373971e2b4a9145e8274eefb52a5 Parents: 7bc8519 Author: Romain Manni-Bucau <rmannibu...@apache.org> Authored: Wed Jun 17 15:23:53 2015 +0200 Committer: Romain Manni-Bucau <rmannibu...@apache.org> Committed: Wed Jun 17 15:23:53 2015 +0200 ---------------------------------------------------------------------- .../openejb-core/src/main/java/org/apache/openejb/OpenEJB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/26c3be0d/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java ---------------------------------------------------------------------- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java b/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java index 3742c4e..0cad62b 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java @@ -74,7 +74,7 @@ public final class OpenEJB { if (appServer == null) { throw new IllegalArgumentException("appServer must not be null"); } - initialized = new InitializationException("Initialized at " + new Date()).fillInStackTrace(); + initialized = new InitializationException("Initialized at " + new Date())/*.fillInStackTrace()*/; try { SystemInstance.init(initProps); @@ -257,7 +257,7 @@ public final class OpenEJB { } public Throwable getInitialized() { - return initialized; + return initialized.fillInStackTrace(); } }