RFR: 8368631: Avoid updating disposed MTLTexture
Ambarish Rapte
arapte at openjdk.org
Thu Sep 25 12:36:47 UTC 2025
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)
-------------
Commit messages:
- avoid MTLTexture.update if disposed
Changes: https://git.openjdk.org/jfx/pull/1919/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1919&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368631
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jfx/pull/1919.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1919/head:pull/1919
PR: https://git.openjdk.org/jfx/pull/1919
More information about the openjfx-dev
mailing list