RFR: 8368631: Avoid updating disposed MTLTexture

Ajit Ghaisas aghaisas at openjdk.org
Thu Sep 25 15:28:03 UTC 2025


On Thu, 25 Sep 2025 12:31:01 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> Issue: 
> Calling MTLTexture.update() method on a disposed MTLTexture object would cause a crash.
> The root cause of this behavior is [JDK-8368629](https://bugs.openjdk.org/browse/JDK-8368629).
> 
> Fix:
> Avoid MTLTexture.update() if texture is disposed.
> The crash should be fixed now and the root cause will be followed up using [JDK-8368629](https://bugs.openjdk.org/browse/JDK-8368629)

Looks good.

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

Marked as reviewed by aghaisas (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1919#pullrequestreview-3268332246


More information about the openjfx-dev mailing list