When using a JFileChooser using this piece of code: JFileChooser filechooser = new JFileChooser(); filechooser.setFileSelectionMode(JFileChooser.FILES_ONLY); filechooser.showOpenDialog(frame); The filechooser will show a blank list of files, as if the directory was empty (which in my tests wasnt the case, since the filechooser was opening my home directory). If you click on the white area where the files should be shown, the following error: Exception during event dispatch: java.lang.IndexOutOfBoundsException at java.util.BitSet.set (libgcj.so.7) at javax.swing.DefaultListSelectionModel.setSelectionInterval (libgcj.so.7) at javax.swing.JList.setSelectedIndex (libgcj.so.7) at javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseClicked (libgcj.so.7) at java.awt.AWTEventMulticaster.mouseClicked (libgcj.so.7) at java.awt.Component.processMouseEvent (libgcj.so.7) at java.awt.Component.processEvent (libgcj.so.7) at java.awt.Container.processEvent (libgcj.so.7) at java.awt.Component.dispatchEventImpl (libgcj.so.7) at java.awt.Container.dispatchEventImpl (libgcj.so.7) at java.awt.Component.dispatchEvent (libgcj.so.7) at java.awt.LightweightDispatcher.handleEvent (libgcj.so.7) at java.awt.Container.dispatchEventImpl (libgcj.so.7) at java.awt.Window.dispatchEventImpl (libgcj.so.7) at java.awt.Component.dispatchEvent (libgcj.so.7) at java.awt.EventQueue.dispatchEvent (libgcj.so.7) at java.awt.EventDispatchThread.run (libgcj.so.7) The same jar works perfectly with the sun jvm. If necessary , I can provide the source files outside of bugzilla (it's a custom software for one of our clients).
Fixed in Rawhide by libgcj backport.