On Thu, 26 Aug 2021 22:10:52 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
> I think that the current test case is wrong, the oneTouchExpandableChanged() > should not be called directly, only when the "oneTouchExpandable" property is > changed. > > So to consider this as a bug the test should trigger the call to the > oneTouchExpandableChanged() as a result of the " oneTouchExpandable value > change" and then validate the state of the buttons. The bug is filled to make the specification to clarify that the behaviour mentioned in specification can change according to the L&F currently being used. That is what the current change is doing. If some L&F does not support oneTouchButtons, the function will not do anything and return. ------------- PR: https://git.openjdk.java.net/jdk/pull/5263