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

Phil Race prr at openjdk.org
Mon Nov 28 23:31:08 UTC 2022


On Thu, 17 Nov 2022 14:26:48 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> 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">

Looks pretty and I can't imagine any harm ..

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

Marked as reviewed by prr (Reviewer).

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



More information about the client-libs-dev mailing list