On Tue, 5 May 2026 04:42:42 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Phil Race has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - 8381843
>>  - 8381843
>
> src/java.desktop/share/classes/java/awt/FileDialog.java line 532:
> 
>> 530:      * It is also platform-specific as to what happens for {@code LOAD} 
>> mode of a non-existent file.
>> 531:      * For example, it may be possible for the user to "accept" the 
>> {@code setFile} value or
>> 532:      * to edit in the name some other file to load/open even if it is 
>> not present.
> 
> "in the name **of** some"
> 
> Also, this sentence is not coming out perfect to me, maybe "it may be 
> possible.....to edit a non-existent file to load/open" is maybe more simpler..

Yes, “of” is missing here, it's present in the javadoc for `getFile`.

I also think this sentence isn't as clear.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30777#discussion_r3188865265

Reply via email to