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

MAWT: "Folders" list in java.awt.FileDialog is incorrect on Solaris sparc

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      Name: iaR10016 Date: 09/29/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b21, JDK1.5.0-b20, JDK1.4.2-b28
      Platform[s] : Solaris 10 sparc (GNOME2), Solaris 9 sparc (CDE)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto

      The test example below creates and shows java.awt.FileDialog component.
      Please, compile and run the test on Solaris sparc machine and play with "Folders"
      list: first time it is impossible to move into parent directory using it - the list
      contains "." (current folder) instead of ".." (parent folder). When I click "."
      in the folders list nothing happens - the current directory remains the same.

      --------- test.java ---------
      public class test {
         public static void main(String[] args) {
            FileDialog aDialog = new FileDialog(new Frame());
            aDialog.setVisible(true);
           }
      }
      -----------------------------

      Please, also note that on Solaris x86 "Folders" list contains both "." and ".."
      folders whereas on Linux it contains ".." folder only.

      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (GNOME)

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            serb Sergey Bylokhov
            Reporter:
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: