JDK-6860630 : Font2DTest demo doesn't work with JDK7-b64.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: generic
  • Submitted: 2009-07-15
  • Updated: 2011-01-19
  • Resolved: 2009-07-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
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
------------------------------------------------------------------------------------