RFR: 8297210: Add a @sealedGraph tag to selected java.desktop classes

Per Minborg pminborg at openjdk.org
Thu Nov 17 14:34:36 UTC 2022


This PR proposes to opt in for graphic rendering of the sealed hierarchy for some selected classes.

Rendering capability was added via https://bugs.openjdk.org/browse/JDK-8295653

Here is how it would look like:

<img width="435" alt="MultipleGradientPaint_SH" src="https://user-images.githubusercontent.com/7457876/202471936-bc93f6d9-7cc2-44c7-9d32-de27ec149a4a.png">

<img width="314" alt="TextComponent_SH" src="https://user-images.githubusercontent.com/7457876/202471990-41af4943-9aa6-480a-9100-6779264d8333.png">

<img width="825" alt="AppEvent_SH" src="https://user-images.githubusercontent.com/7457876/202472035-f7976c01-36cc-43f5-87eb-2fcf2c7c2d0f.png">

<img width="359" alt="FilesEvent_SH" src="https://user-images.githubusercontent.com/7457876/202472062-1d32a466-840f-4260-988e-6b661ba723e6.png">

<img width="368" alt="InputEvent_SH" src="https://user-images.githubusercontent.com/7457876/202472112-079d9189-d40d-4447-a435-e8893be3290d.png">

<img width="321" alt="Path2D_SH" src="https://user-images.githubusercontent.com/7457876/202472176-ca455b74-5637-4291-8abc-3349a2ab2912.png">

<img width="701" alt="StyleConstants_SH" src="https://user-images.githubusercontent.com/7457876/202472242-5402e0d6-7071-49c3-9927-b89dda950f98.png">

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

Commit messages:
 - Remove some classes that did not render well
 - Add a @sealedGraph tag to java.deskop module classes

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

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



More information about the client-libs-dev mailing list