Message940
Logged In: YES
user_id=141974
I HAVE A FIX!
In proxies.py make the following change:
*** 346,363 ****
--- 346,365 ----
def addConstructors(self, c):
for constructor in c.getDeclaredConstructors():
access = constructor.modifiers
if isPrivate(access):
continue
if isNative(access):
access = access & ~NATIVE
if isProtected(access):
access = access & ~PROTECTED | PUBLIC
+ if not access:
+ continue
parameters = tuple(constructor.parameterTypes)
throws = constructor.exceptionTypes
self.jconstructors.append( (access,
parameters, throws) )
def callSuperMethod(self, name, supername, access,
ret, sig, throws=[]):
if self.issuperproxy:
return
self.supermethods[supername] = supername
args = [typeName(ret)]
This makes it ignore constructors for which you have no access. |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:20 | admin | link | issue1047347 messages |
2008-02-20 17:17:20 | admin | create | |
|