You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2016/03/31 09:59:20 UTC
karaf git commit: [KARAF-4429] Fix the Exception class causing issues
with jaxb
Repository: karaf
Updated Branches:
refs/heads/karaf-4.0.x f86663fa8 -> 13026b3d2
[KARAF-4429] Fix the Exception class causing issues with jaxb
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/13026b3d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/13026b3d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/13026b3d
Branch: refs/heads/karaf-4.0.x
Commit: 13026b3d214f60cea83c4c663f1ef776541e6db2
Parents: f86663f
Author: cristcost <cr...@gmail.com>
Authored: Mon Mar 21 15:26:54 2016 +0100
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Thu Mar 31 09:59:09 2016 +0200
----------------------------------------------------------------------
exception/src/main/java/java/lang/Exception.java | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/13026b3d/exception/src/main/java/java/lang/Exception.java
----------------------------------------------------------------------
diff --git a/exception/src/main/java/java/lang/Exception.java b/exception/src/main/java/java/lang/Exception.java
index 05c79ab..76eee71 100644
--- a/exception/src/main/java/java/lang/Exception.java
+++ b/exception/src/main/java/java/lang/Exception.java
@@ -19,6 +19,8 @@ package java.lang;
import java.lang.reflect.Field;
+import javax.xml.bind.annotation.XmlTransient;
+
/**
* {@code Exception} is the superclass of all classes that represent recoverable
@@ -116,9 +118,15 @@ public class Exception extends Throwable {
}
+ @XmlTransient
+ @Deprecated
public Class[] getClassContext() {
return classContext;
}
+
+ protected Class[] classContext() {
+ return classContext;
+ }
private static class SecurityManagerEx extends SecurityManager
{