<Swing Dev> Review request for 8133039 Provide public API to sun.swing.UIAction#isEnabled(Object)

Andrej Golovnin andrej.golovnin at gmail.com
Tue Nov 10 12:10:52 UTC 2015


Hi Alexander,

you patch changes the signature of a public method in SwingUtilities:

Current JDK
1731     public static boolean notifyAction(Action action, KeyStroke ks,
1732                                        KeyEvent event, Object sender,

After your change:

1731     public static boolean notifyAction(Action action, KeyStroke ks,
1732                                        KeyEvent event, JComponent sender,

Don't you think it may break binary compatibility? The method exists
since JDK 1.3.

Best regards,
Andrej Golovnin



More information about the swing-dev mailing list