Philip Jenvey,你好
 
 
     thanks
 
     it's a great project
 
lijihuailijihuai@126.com
2009-08-17
----- Original Message -----
From: Philip Jenvey
To: lijihuai
Sent: 2009-08-16, 08:55:22
Subject: [issue1430] Oracle JDBC Connection close

Philip Jenvey <pjenvey@users.sourceforge.net> added the comment:

I narrowed this down since I could reproduce it. Basically one of the
classes in the chain isn't public but overrides
java.sql.Connection.close. That combined with the interfaces having
their own different close method causes the java.sql.Connection.close to
not show up

Extract the tar ball and run:
$ jython test.py
nargs: 1
interface SpecialConnection, false, 0, public abstract void
SpecialConnection.close(int)
  (int, )
None
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    c.close()
TypeError: close(): expected 1 args; got 0

----------
assignee: -> cgroves
Added file: http://bugs.jython.org/file723/issue1430.tar.gz

_______________________________________
Jython tracker <report@bugs.jython.org>
<http://bugs.jython.org/issue1430>
_______________________________________