polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/2] zest-java git commit: runtime: stack trace compaction supports Java 8 suppressed exceptions
Date Sun, 20 Nov 2016 16:24:07 GMT
runtime: stack trace compaction supports Java 8 suppressed exceptions


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/bdfe51d3
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/bdfe51d3
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/bdfe51d3

Branch: refs/heads/develop
Commit: bdfe51d3cf1167f28282d368b41c4ae0d2d74fcc
Parents: b082b97
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sun Nov 20 17:23:31 2016 +0100
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sun Nov 20 17:23:31 2016 +0100

----------------------------------------------------------------------
 .../zest/runtime/composite/FragmentInvocationHandler.java       | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/bdfe51d3/core/runtime/src/main/java/org/apache/zest/runtime/composite/FragmentInvocationHandler.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/zest/runtime/composite/FragmentInvocationHandler.java
b/core/runtime/src/main/java/org/apache/zest/runtime/composite/FragmentInvocationHandler.java
index cd4f72f..df32326 100644
--- a/core/runtime/src/main/java/org/apache/zest/runtime/composite/FragmentInvocationHandler.java
+++ b/core/runtime/src/main/java/org/apache/zest/runtime/composite/FragmentInvocationHandler.java
@@ -108,6 +108,11 @@ abstract class FragmentInvocationHandler
             //noinspection ThrowableResultOfMethodCallIgnored
             cleanStackTrace( nested, proxy, method );
         }
+        for( Throwable suppressed : throwable.getSuppressed() )
+        {
+            //noinspection ThrowableResultOfMethodCallIgnored
+            cleanStackTrace( suppressed, proxy, method );
+        }
         return throwable;
     }
 


Mime
View raw message