-
Bug
-
Resolution: Won't Fix
-
P4
-
7
-
generic
-
generic
I was tracking how to get a ComponentUI in to the setSelectedUI() method and
I found these two cases of updateStyle() where its argument is not passed to
the getContext() call:
SynthInternalFrameTitlePane.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(this, ENABLED);
SynthListUI.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(list, ENABLED);
In all other updateStyle() methods the argument is passed to the getContext() call.
I found these two cases of updateStyle() where its argument is not passed to
the getContext() call:
SynthInternalFrameTitlePane.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(this, ENABLED);
SynthListUI.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(list, ENABLED);
In all other updateStyle() methods the argument is passed to the getContext() call.
- links to
-
Review openjdk/jdk/11875