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

closed/javax/swing/JFileChooser/6484091/bug6484091.java fails on solaris 10 sparc

    XMLWordPrintable

Details

    • b72
    • generic, sparc
    • solaris_10

    Description

      Bug Info
      =========
      closed/javax/swing/JFileChooser/6484091/bug6484091.java fails with the following exception on solaris 10 sparc platform and there is no issue on windows and linux platforms.

      java.lang.ClassCastException: javax.swing.filechooser.FileSystemView$FileSystemRoot cannot be cast to sun.awt.shell.ShellFolder
      at bug6484091.main(bug6484091.java:16)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread

      JDK Info
      =========
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_06_01_0
      1_18-b00)
      Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)

      Steps to reproduce
      ===================
      Set the following envrionment and run the test.

      1. Set JTREG PATH
      2. Set JDK HOME
      3. Set WORK DIR and REPORT DIR
      4. Set the SUITE(ex: SUITE=/net/sqindia.india/export/disk01/vinay/src/jdk/test/cclosed/javax/swing/JFileChooser/6484091/bug6484091.java)
      5. Run the following command once set the above environment.
      ksh ${JTREG_PATH}/bin/jtreg -v -jdk:${JDK_HOME} -r:${REPORT_DIR} -w:${WORK_DIR} ${SUITE}

      Please find the attached test log for more details.

      Attachments

        Activity

          People

            rupashka Pavel Porvatov (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: