RFR: 8352209: NPE com.sun.prism.d3d.D3DTextureData.getContext [v3]
Kevin Rushforth
kcr at openjdk.org
Tue Nov 4 00:02:26 UTC 2025
On Mon, 3 Nov 2025 11:19:05 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:
>> Fair point. I think this code works regardless because originally `maskTex` was supposed to be guarded by `curMaskRow` and `curMaskCol` below being set to zero.
>>
>> I will change it to the above.
>
> If this check fixes this particular issue, then can the calls `!resource.isValid()` be removed ?
I think they should remain unless we are absolutely certain that this is the only possibly place where `update` can be called on a texture that has been released.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1951#discussion_r2488195650
More information about the openjfx-dev
mailing list