Commits

Darjus Loktevic  committed 3121e1a

Remove the Proxy caching, seems to be interfering with ProxyMaker classes that are themselves subclasses of ProxyMaker classes

  • Participants
  • Parent commits 4cea1e0

Comments (0)

Files changed (1)

File src/org/python/core/MakeProxies.java

             PyObject dict) {
         JavaMaker javaMaker = null;
         
-        // check if a Jython annotation exists and if yes, the class is already a Jython Proxy
-        if (superclass != null) {
-        	APIVersion apiVersion = superclass.getAnnotation(org.python.compiler.APIVersion.class);
-        	if (apiVersion != null) {
-        		// TODO validate versions, maybe use a different annotation
-        		return superclass;
-        	}
-        }
-        
         Class<?>[] interfaces = vinterfaces.toArray(new Class<?>[vinterfaces.size()]);
         String fullProxyName = proxyPrefix + proxyName + "$" + proxyNumber++;
         String pythonModuleName;