On Mon, 11 Mar 2024 17:29:50 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> The `java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest` test is written 
> to test the very specific functionality of `XFileDialogPeer`, so it shouldn't 
> be run on platforms other than Linux.
> 
> We also need to set `sun.awt.disableGtkFileDialogs` to `true` to be able to 
> test `XFileDialogPeer`, because by default it tries to use the Gtk file 
> dialog if it is available.
> The Gtk file dialog has a search field hidden under the magnifying glass 
> icon, but it has a different syntax.
> 
> The Windows system file dialog allows you to use wildcard filtering in the 
> "File name" field by hitting the `enter` afterwards, but again, this test was 
> written to test our own file dialog implementation, not the system's.

This pull request has now been integrated.

Changeset: d25c452f
Author:    Alexander Zvegintsev <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d25c452f0c4a2106a1fa06b56039f0f0b5d6e952
Stats:     344 lines in 4 files changed: 74 ins; 270 del; 0 mod

8327835: Convert java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest applet 
test to main

Reviewed-by: aivanov, abhiscxk

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

PR: https://git.openjdk.org/jdk/pull/18203

Reply via email to