RFR: 8365379: SU3.applyInsets may produce wrong results [v5]

Renjith Kannath Pariyangad rkannathpari at openjdk.org
Thu Sep 11 03:58:09 UTC 2025


On Thu, 11 Sep 2025 02:34:40 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Renjith Kannath Pariyangad has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Replaced eol char
>>  - Replaced eol char
>
> test/jdk/javax/swing/SwingUtilities/8365379/bug8365379.java line 33:
> 
>> 31:  * @bug 8365379
>> 32:  * @summary Verify LineBorder edges have the same width
>> 33:  * @modules java.desktop/com.sun.java.swing
> 
> Can we verify it w/o using internals?

As you are aware existing calculation will go wrong only for non zero X & Y. As far my understanding existing calls passing 0,0 as X,Y. so I did not find any other way w/o using internals. 

Let me know if you have any suggestions.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27157#discussion_r2338449293


More information about the client-libs-dev mailing list