RFR: 8281953: NullPointer in InputMethod components in JFXPanel [v2]
eduardsdv
duke at openjdk.java.net
Mon Feb 21 12:54:57 UTC 2022
On Mon, 21 Feb 2022 11:30:17 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
>> eduardsdv has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8281953: Format TextInputControlSkinTest
>
> modules/javafx.controls/src/test/java/test/javafx/scene/control/skin/TextInputControlSkinTest.java line 105:
>
>> 103: // and that the default point is returned.
>> 104: Point2D point = textField.getInputMethodRequests().getTextLocation(0);
>> 105: assertEquals(new Point2D(0,0), point);
>
> Very minor : Please add a space between `0,0`
I added the space and checked the fix again with the sample program.
The fix works, the NullPointer does not occur anymore.
-------------
PR: https://git.openjdk.java.net/jfx/pull/735
More information about the openjfx-dev
mailing list