RFR: 8202932: java/awt/Component/NativeInLightShow/NativeInLightShow.java fails

Sergey Bylokhov serb at openjdk.java.net
Thu Oct 21 07:46:09 UTC 2021


On Thu, 21 Oct 2021 02:04:01 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> Looks like the test does not fail anymore.
> 
> However some cleanup was made:
> 
> - fixed wildcard imports
> - frame centered and explicitly disposed at the end
> - removed unused `setAutoDelay()` call (no key/mouse key events generated)
> - improved variable naming
> 
> Testing still green.

test/jdk/java/awt/Component/NativeInLightShow/NativeInLightShow.java line 27:

> 25:   @test 1.0 04/05/20
> 26:   @key headful
> 27:   @bug 4140484 8202932

BTW it is not necessary to update bugid for the simple cleanups, this is for the bugs which can be verified by this test, or for some big logic rework in the test. So for every next test update, it will be easy to check that the old bugs still can be verified by the updated test. In the current case it is clear that the test should fail before 4140484 was fixed.

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

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



More information about the client-libs-dev mailing list