RFR: 8368631: Avoid updating disposed MTLTexture

Kevin Rushforth kcr at openjdk.org
Thu Sep 25 15:08:16 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)

LGTM

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

Marked as reviewed by kcr (Lead).

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


More information about the openjfx-dev mailing list