karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject [1/3] karaf git commit: [KARAF-4429] Fix the Exception class causing issues with jaxb
Date Thu, 31 Mar 2016 07:58:14 GMT
Repository: karaf
Updated Branches:
  refs/heads/master c037cfcbd -> 68f34dcff


[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/07cb6c11
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/07cb6c11
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/07cb6c11

Branch: refs/heads/master
Commit: 07cb6c11176b5d590b50c55ea6d1d650e3efdc73
Parents: c037cfc
Author: cristcost <cristiano.costantini@gmail.com>
Authored: Mon Mar 21 15:26:54 2016 +0100
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Thu Mar 31 09:24:41 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/07cb6c11/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
     {


Mime
View raw message