Issue1540

classification
Title: super() causes 'maximum recursion depth exceeded'
Type: crash Severity: normal
Components: Versions: 2.5.1
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: WA
Priority: Keywords:

Created on 2010-01-13.10:58:09 by WA, last changed 2010-01-13.10:58:09 by WA.

Messages
msg5431 (view) Author: (WA) Date: 2010-01-13.10:58:09
This code crashes always on my machine:

from javax.swing import *

class PanelTest(JPanel):
    def paintComponent(self, g):
        super(PanelTest, self).paintComponent(g)

if __name__ == '__main__':
    frame = JFrame("Jython Swing Test")
    frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
    pnl = PanelTest()
    frame.add(pnl)
    frame.pack()
    frame.setVisible(True)
History
Date User Action Args
2010-01-13 10:58:09WAcreate