On Wed, 24 Dec 2025 12:17:47 GMT, Daniel Gredler <[email protected]> wrote:

> Instances of FontRenderContext are immutable, but its instance variables are 
> not declared final.

src/java.desktop/share/classes/java/awt/font/FontRenderContext.java line 66:

> 64: */
> 65: public class FontRenderContext {
> 66:     private transient final AffineTransform tx;

Let's use blessed modifiers order
Suggestion:

    private final transient AffineTransform tx;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28981#discussion_r2646775774

Reply via email to