RFR: 8374340: FontRenderContext instance variables should be final

Daniel Gredler dgredler at openjdk.org
Wed Dec 24 15:12:51 UTC 2025


On Wed, 24 Dec 2025 12:17:47 GMT, Daniel Gredler <dgredler at openjdk.org> wrote:

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

Note: I'm not sure why these instance variables are marked `transient`, since `FontRenderContext` is not serializable. I've left it as-is, but if reviewers want `transient` removed, just let me know.

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

PR Comment: https://git.openjdk.org/jdk/pull/28981#issuecomment-3690055409


More information about the client-libs-dev mailing list