The fix looks good to me.
Thanks,
Alexandr.
On 9/7/2015 5:19 PM, Alexander Zvegintsev wrote:
Hello Sergey,
the fix looks good to me.
--
Thanks,
Alexander.
On 07.09.2015 15:48, Sergey Bylokhov wrote:
Hello.
Please review the fix for jdk9.
Initially I found this bug in JSpinner during my work on
JDK-7124397, after I covers other components in the test I found
other cases in Aqua.
The problem is that some of UI delegates in Aqua does not follow the
rules that they should removes all listeners/references in the
uninstallUI method.
AquaCaret.java + related textui : this ui now updates the
reference/listeners in install/deinstall instead of update it only
once in the constructor.
AquaInternalFrameUI.java : code related to components removing was
moved to uninstallComponents.
AquaSpinnerUI.java : see comments in the code.
AquaTabbedPaneUI.java : I force removing of the reference to the ui
delegate from the timer.
I also tried to make a small cleanup and split longest lines only,
otherwise in some cases I will have to update the whole files.
The follow bug for motif/synth l&f is filed: JDK-8135138
Bug: https://bugs.openjdk.java.net/browse/JDK-8134947
The new test: http://cr.openjdk.java.net/~serb/8134947/webrev.00