On Wed, 24 Dec 2025 15:09:02 GMT, Daniel Gredler <[email protected]> wrote:

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

I noticed that when I looked yesterday. The only thing I could think of is that 
since the class is subclassable, it purposefully prevents anyone from creating 
a serializable subclass reliant on the superclass.
I'd prefer to leave it, as some investigation would be prudent and it really 
doesn't matter.

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

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

Reply via email to