RFR: 8306409: Open source AWT KeyBoardFocusManger, LightWeightComponent related tests

Sergey Bylokhov serb at openjdk.org
Tue Apr 25 08:30:10 UTC 2023


On Tue, 25 Apr 2023 07:07:41 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> This PR is to open source Keyboard Focus Manager, Light Weight Component and few other AWT tests.

test/jdk/java/awt/Layout/InsetsTest.java line 43:

> 41: 
> 42: public class InsetsTest {
> 43:         private int leftInsetValue;

This test uses some strange formatting.

test/jdk/java/awt/LightweightComponent/LightweightDragTest.java line 52:

> 50:     int y = 0;
> 51:     int x2 = 0;
> 52:     int y2 = 0;

Do we need to mark all this as volatile?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13633#discussion_r1176178973
PR Review Comment: https://git.openjdk.org/jdk/pull/13633#discussion_r1176181456



More information about the client-libs-dev mailing list