Message940

Author gcash
Recipients
Date 2004-10-15.02:13:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-02-20 17:17:20adminlinkissue1047347 messages
2008-02-20 17:17:20admincreate