#297 IllegalTypeCheck should allow some abstract classes

release_4.2
closed
Check (274)
5
2012-10-10
2004-05-13
Paul Guyot
No

Some abstract classes within java.* actually are types.
For example, AbstractButton is a type being between
JComponent and JButton, JMenuItem and JToggleButton.

The attached patch adds a parameter to the check that
allows one to specify the list of legal abstract
classes. It also fixes a couple of typos in the
IllegalTypeCheck.

Discussion

  • Paul Guyot
    Paul Guyot
    2004-05-13

    Patch to add this feature.

     
    Attachments
  • Logged In: YES
    user_id=746148

    Changes committed to CVS for 4.2
    Thank you for contribution.