Create a test to cover independent ButtonModel implementation for JToggleButton

XMLWordPrintable

      The fix for JDK-8182577 provides a test, DefaultButtonModelCrashTest.java, which uses a custom ButtonModel that is a subclass of DefaultButtonModel.

      However, it's possible to implement ButtonModel interface which is not a subclass of DefaultButtonModel. ClassCastException should not be thrown.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: