On Tue, 5 May 2026 13:40:44 GMT, Alexey Ivanov <[email protected]> wrote:

>> 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.

yes 'of' is missing (typo)
But we aren't going to use the word "edit" since what the app is going to do 
with the file is up to the  app.

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

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

Reply via email to