Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4488970

FileDialog can't change a path on Solaris and Linux

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta3
    • CPU:
      x86, sparc
    • OS:
      generic, solaris_8
    • Verification:
      Verified

      Description


      Testing with merin beta-refresh b74 on Solaris8/9 Sparc, Solaris7 x86 and RedHatLinux 7.1J.

      FileDialog can not change a directory by an action in "Folders" or "Enter path or folder name" fields.
      Trying to select a directory by clicking any directory name in "Folder" field or specifying a path name in "Enter path or folder name" field and hitting a Return key in the field, FileDialog disappears.


      Steps to reproduce:

      1. Launch Notepad demo ($JAVAHOME/demo/jfc/Notepad/Notepad.jar)
         java -jar Notepad.jar
      2. Select "File->Open" or click an icon for opening file.
         Then, FileDialog comes up.
      3. Click ".." directory name in "Folders" field to go up to an upper directory(or you can click any other directory name to go to another directory).
         or
         Specify a path name (ex. an upper directory or one of the lower directories) in "Enter path or folder name" field to go to another directory and hit a Return key in the field (if you don't change the path and hit a Return key, the problem occurs also).
         Then, FileDialog disappears, therefore the files under the specified directory can not be listed and any file can not be selected.


      The only way to select a file is to input the full path in "Enter file name" filed and click "OK" button.
      Then, the selected file is loaded properly.


      This problem is not seen in the previous build b73.
      This problem does not occur on Windows platforms.


      =======================================================================
      I modified some description above and add some information below;

      I found that FileNotFoundException is thrown using the test case below(JTextAreaTest.java)

      This was an invalid test and has been removed.
      michael.martak@Eng 2001-08-09

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmikhalksunw Denis Mikhalkin (Inactive)
              Reporter:
              mmtokunasunw Mtokunaga Mtokunaga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: