aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r1135149 - /aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java
Date Mon, 13 Jun 2011 15:43:01 GMT
Author: timothyjward
Date: Mon Jun 13 15:43:01 2011
New Revision: 1135149

URL: http://svn.apache.org/viewvc?rev=1135149&view=rev
Log:
ARIES-674 : Prevent javax packages from being woven

Modified:
    aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java

Modified: aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java
URL: http://svn.apache.org/viewvc/aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java?rev=1135149&r1=1135148&r2=1135149&view=diff
==============================================================================
--- aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java
(original)
+++ aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/ProxyWeavingHook.java
Mon Jun 13 15:43:01 2011
@@ -53,7 +53,8 @@ public final class ProxyWeavingHook impl
     
     if(wovenClass.getClassName().startsWith("org.objectweb.asm") || 
         wovenClass.getClassName().startsWith("org.slf4j") || 
-        wovenClass.getClassName().startsWith("org.apache.log4j"))
+        wovenClass.getClassName().startsWith("org.apache.log4j") ||
+        wovenClass.getClassName().startsWith("javax."))
       return;
     
     byte[] bytes = null;



Mime
View raw message