Hi,
I am encountering an issue after upgrading to JRE 26.
If I pass an empty string for File.Exists, it returns true. While in previous versions like JRE 23, it returns False.
I am encountering an issue after upgrading to JRE 26.
If I pass an empty string for File.Exists, it returns true. While in previous versions like JRE 23, it returns False.
B4X:
Dim dc As DirectoryChooser
dc.Initialize
Dim path As String = dc.Show(MainForm)
If File.Exists(path,"") Then 'empty string if no file selected
Log("do something")
End If