Other |
---|
tbd_majorUnresolved |
Relates :
|
|
Relates :
|
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.