On Tue, 23 Apr 2024 17:47:03 GMT, Oliver Kopp <d...@openjdk.org> wrote:

>> Fixes https://bugs.openjdk.org/browse/JDK-8330462.
>> 
>> If the parameter `maxLength` is larger than `Integer.MAX_VALUE - start`, 
>> then an addition of `start` to it leads to a negative value. This is "fixed" 
>> by using `Math.max` comparing the `maxLength` and `maxLength + start`.
>
> Oliver Kopp has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - Fix JavaDoc formatting
>  - Discard changes to modules/javafx.graphics/src/test/addExports

tests/system/src/test/java/test/com/sun/glass/ui/win/WinTextRangeProviderTest.java
 line 28:

> 26: 
> 27: import com.sun.javafx.PlatformUtil;
> 28: import com.sun.glass.ui.win.WinTextRangeProviderShim;

this generates an error in Eclipse (the project dependencies must be fixed)


Description     Resource        Path    Location
The import com.sun.glass.ui.win cannot be resolved      
WinTextRangeProviderTest.java   
/systemTests-test/java/test/com/sun/glass/ui/win        line 28

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1442#discussion_r1576838501

Reply via email to