-
Bug
-
Resolution: Unresolved
-
P4
-
8u311, 10
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.
However, it's possible to implement ButtonModel interface which is not a subclass of DefaultButtonModel. ClassCastException should not be thrown.
- relates to
-
JDK-8277243 Cast to DefaultButtonModel to access getGroup() is unnecessary
- Open
-
JDK-8182577 Exception when Tab key moves focus to a JCheckbox with a custom ButtonModel
- Resolved
-
JDK-8276986 Cannot be cast to javax.swing.JToggleButton$ToggleButtonModel in 8u311
- Closed