Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365375

Method SU3.setAcceleratorSelectionForeground assigns to acceleratorForeground

XMLWordPrintable

    • 26
    • b11

        The newly introduced method SwingUtilities3.setAcceleratorSelectionForeground [1] assigns the value to acceleratorForeground instead of acceleratorSelectionForeground.

        Phil found [2][3] this bug after JDK-8348760 had been integrated.


        [1] https://github.com/openjdk/jdk/blob/19a76a45e9c8616414830c865801660bc6761e92/src/java.desktop/share/classes/com/sun/java/swing/SwingUtilities3.java#L250-L25
        [2] https://github.com/openjdk/jdk/pull/23324#discussion_r2267210782
        [3] https://github.com/openjdk/jdk/pull/26717#discussion_r2267225024

              psadhukhan Prasanta Sadhukhan
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: