RFR: 8275843: Random crashes while the UI code is executed [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Mon Dec 13 22:03:24 UTC 2021


On Mon, 13 Dec 2021 20:24:33 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> src/java.desktop/unix/classes/sun/java2d/xr/XRSurfaceData.java line 403:
>> 
>>> 401:         SurfaceType sType = null;
>>> 402: 
>>> 403:         switch (transparency) {
>> 
>> Since you are touching this, you might want to fix indent for cases in this switch.
>
> I can change it, but looks like all switches in the "sun.java2d.xr" use this code style.

Then it is fine as it is.

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

PR: https://git.openjdk.java.net/jdk/pull/6199



More information about the client-libs-dev mailing list