-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
1.2beta4
-
x86, sparc
-
generic, solaris_2.5.1, solaris_2.6, windows_nt
-
Verified
SwingSetApplet FileChooser doesn't work and throws exceptions with JDK-1.2beta4G on Windows 95.
Steps to Reproduce:
0) Launch SwingSetApplet.html with appletviewer on Windows 95 with JDK-1.2beta4-G.
1) Select FileChooser from the Choosers menu.
RESULT: The following exceptions are thrown:
Exception occurred during event dispatching:
java.lang.IllegalAccessError: try to access class java/awt/swing/plaf/basic/Basi
cDirectoryModel from class java/awt/swing/plaf/windows/WindowsFileChooserUI
at java.awt.swing.plaf.windows.WindowsFileChooserUI.ensureFileIsVisible(
Compiled Code)
at java.awt.swing.JFileChooser.ensureFileIsVisible(Compiled Code)
at java.awt.swing.JFileChooser.setSelectedFile(Compiled Code)
at SwingSet$9.actionPerformed(Compiled Code)
at java.awt.swing.AbstractButton.fireActionPerformed(Compiled Code)
at java.awt.swing.AbstractButton$ForwardActionEvents.actionPerformed(Com
piled Code)
at java.awt.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at java.awt.swing.DefaultButtonModel.setPressed(Compiled Code)
at java.awt.swing.AbstractButton.doClick(Compiled Code)
at java.awt.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDr
agMouseReleased(Compiled Code)
at java.awt.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at java.awt.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at java.awt.swing.JMenuItem.processMouseEvent(Compiled Code)
at java.awt.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at java.awt.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased
(Compiled Code)
at java.awt.AWTEventMulticaster.mouseReleased(Compiled Code)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Steps to Reproduce:
0) Launch SwingSetApplet.html with appletviewer on Windows 95 with JDK-1.2beta4-G.
1) Select FileChooser from the Choosers menu.
RESULT: The following exceptions are thrown:
Exception occurred during event dispatching:
java.lang.IllegalAccessError: try to access class java/awt/swing/plaf/basic/Basi
cDirectoryModel from class java/awt/swing/plaf/windows/WindowsFileChooserUI
at java.awt.swing.plaf.windows.WindowsFileChooserUI.ensureFileIsVisible(
Compiled Code)
at java.awt.swing.JFileChooser.ensureFileIsVisible(Compiled Code)
at java.awt.swing.JFileChooser.setSelectedFile(Compiled Code)
at SwingSet$9.actionPerformed(Compiled Code)
at java.awt.swing.AbstractButton.fireActionPerformed(Compiled Code)
at java.awt.swing.AbstractButton$ForwardActionEvents.actionPerformed(Com
piled Code)
at java.awt.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at java.awt.swing.DefaultButtonModel.setPressed(Compiled Code)
at java.awt.swing.AbstractButton.doClick(Compiled Code)
at java.awt.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDr
agMouseReleased(Compiled Code)
at java.awt.swing.JMenuItem.fireMenuDragMouseReleased(Compiled Code)
at java.awt.swing.JMenuItem.processMenuDragMouseEvent(Compiled Code)
at java.awt.swing.JMenuItem.processMouseEvent(Compiled Code)
at java.awt.swing.MenuSelectionManager.processMouseEvent(Compiled Code)
at java.awt.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased
(Compiled Code)
at java.awt.AWTEventMulticaster.mouseReleased(Compiled Code)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
- duplicates
-
JDK-4142901 JFileChooser.setSelectedFile(File) throws unexpected IllegalAccessError.
-
- Closed
-
-
JDK-4149080 Using JDK's FileChooserDemo will cause an exception.
-
- Closed
-