The main problem was that both list and add were NULL at the time of the check. This is normal and the check was corrected to account for such a possibility.
However, since buffers can be re-used for a different surface of the same java.awt.Window (which will likely have the same size after the second setVisible(true)), it's important that those buffers do not retain any residual information from their previous "life".
JBR-7516 Wayland: DamageList_AddList: Assertion `list != add' failed
The main problem was that both
list
andadd
wereNULL
at the time of the check. This is normal and the check was corrected to account for such a possibility.However, since buffers can be re-used for a different surface of the same
java.awt.Window
(which will likely have the same size after the secondsetVisible(true)
), it's important that those buffers do not retain any residual information from their previous "life".