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

Font2DTest demo doesn't work with JDK7-b64.

XMLWordPrintable

    • b64
    • 7
    • generic
    • windows_vista

      Font2DTest demo doesn't run with JDK7-b64.

      ------------------------------------------------------------------------------------
      Exception in thread "main" java.lang.ExceptionInInitializerError
              at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:385)
              at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:689)
              at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:274)
              at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:157)
              at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:153)
              at javax.swing.JComponent.setUI(JComponent.java:664)
              at javax.swing.JFileChooser.updateUI(JFileChooser.java:1782)
              at javax.swing.JFileChooser.setup(JFileChooser.java:374)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:347)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:300)
              at Font2DTest.setupDialog(Font2DTest.java:323)
              at Font2DTest.<init>(Font2DTest.java:161)
              at Font2DTest.main(Font2DTest.java:1024)
      Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
              at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:205)
              ... 13 more
      ------------------------------------------------------------------------------------

            Unassigned Unassigned
            peytoia Yuka Kamiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: