aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tjwat...@apache.org
Subject svn commit: r1796168 - /aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
Date Thu, 25 May 2017 16:28:11 GMT
Author: tjwatson
Date: Thu May 25 16:28:11 2017
New Revision: 1796168

URL: http://svn.apache.org/viewvc?rev=1796168&view=rev
Log:
ARIES-1724: Proxy generates calls to static methods in <clinit> which can fail on Java
9

Modified:
    aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java

Modified: aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
URL: http://svn.apache.org/viewvc/aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java?rev=1796168&r1=1796167&r2=1796168&view=diff
==============================================================================
--- aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
(original)
+++ aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java
Thu May 25 16:28:11 2017
@@ -600,7 +600,7 @@ public abstract class AbstractWovenProxy
 
     for (String methodStaticFieldName : transformedMethods.keySet()) {
       // add a private static field for the method
-      cv.visitField(ACC_PRIVATE | ACC_STATIC | ACC_FINAL | ACC_SYNTHETIC,
+      cv.visitField(ACC_PRIVATE | ACC_STATIC | ACC_SYNTHETIC,
           methodStaticFieldName, METHOD_TYPE.getDescriptor(), null, null)
           .visitEnd();
     }



Mime
View raw message