RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again) [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Wed Apr 13 23:18:08 UTC 2022


On Wed, 13 Apr 2022 21:46:57 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> test/jdk/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java line 144:
>> 
>>> 142:                         point.y,
>>> 143:                         BACKGROUND_COLOR
>>> 144:                 );
>> 
>> Dunno why the old version was not checking inner points, but I've added one just to check if the shaped frame is above background one.
>
> Don't we need to check the places where the shadow is rendered that it is not the shape color(to prove that the shape is not simple rectangular)?

Sure, extra check added.

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

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



More information about the client-libs-dev mailing list