[JDK-8352638](https://bugs.openjdk.org/browse/JDK-8352638) added final to 
public classes in `java.desktop/windows` including the Windows L&F package as a 
code consistency cleanup. This breaks applications that extend UI classes and 
they get `IncompatibleClassChangeError` at runtime.

Although this package is not part of the public API, we decided to remove the 
final modifier from all public and protected classes, as well as their inner 
classes in `com.sun.java.swing.plaf.windows`. Package-private classes, private 
inner classes, and the `@Override` annotations introduced by JDK-8352638 remain 
unchanged.

Notes:
 - Most of the changed files are UI delegates or related classes, the next 
public utility classes `WindowsBorders`, `WindowsIconFactory` and 
`WindowsGraphicsUtils` are not reverted.

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

Commit messages:
 - Update bug4991587.java
 - Update WindowsBorders.java
 - year
 - Skip "utility" classes
 - Merge branch 'master' into JDK-8359433
 - Update WindowsMenuUI.java
 - 8359433: The final modifier on Windows L&F internal UI classes prevents 
extending them in apps

Changes: https://git.openjdk.org/jdk/pull/30170/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30170&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359433
  Stats: 91 lines in 41 files changed: 0 ins; 0 del; 91 mod
  Patch: https://git.openjdk.org/jdk/pull/30170.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30170/head:pull/30170

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

Reply via email to