Only pass value changed event to the native accessibility peer when the value 
is actually changed. While at fixing it for RadioButton also fixing it for 
checkbox and toggle button so there is no need to re-visit this file later.
Also updating the copyright year.

-------------

Commit messages:
 - 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of 
JRadioButton

Changes: https://git.openjdk.org/jdk/pull/14605/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14605&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309733
  Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/14605.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14605/head:pull/14605

PR: https://git.openjdk.org/jdk/pull/14605

Reply via email to