[Bug 109] New: Cannot run Sun's 'SymbolTest' and Swing anymore?

[email protected] Sun, 6 Mar 2005 23:48:14 -0500
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=109

           Summary: Cannot run Sun's 'SymbolTest' and Swing anymore?
           Product: SableVM
           Version: staging
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Weird, but with 1.1.10 trying to runSymbolTest I keep getting many such
msgs:

Exception during event dispatch:
java.lang.IllegalMonitorStateException
   at gnu.java.awt.peer.gtk.GtkToolkit.iterateNativeQueue (GtkToolkit.java)
   at java.awt.EventQueue.getNextEvent (EventQueue.java:136)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:64)
   at java.lang.VMThread.callRun (VMThread.java:119)
   at java.lang.Thread.callRun (Thread.java:391)
   at java.lang.VirtualMachine.runThread (VirtualMachine.java:137)

The symbol test can be obtained ie. from:

http://www-uxsup.csx.cam.ac.uk/java/jdk-1.2.2/demo/applets/SymbolTest/SymbolTest.java



And trying to run a Sketch Swing app (that used to work) I get:
gadek@gadek:~/java/jswing2/ch28$ /home/gadek/work/usr-1.1.10/bin/sablevm -Y Sketch
java.lang.ExceptionInInitializerError
   at java.lang.Class.initialize (Class.java:161)
   at gnu.java.awt.peer.gtk.GtkToolkit.createImage (GtkToolkit.java:254)
   at gnu.java.awt.peer.gtk.GtkToolkit.getImage (GtkToolkit.java:369)
   at javax.swing.ImageIcon.ImageIcon (ImageIcon.java:68)
   at javax.swing.ImageIcon.ImageIcon (ImageIcon.java:63)
   at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults
(BasicLookAndFeel.java:241)
   at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults (BasicLookAndFeel.java:92)
   at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults (MetalLookAndFeel.java:90)
   at javax.swing.UIManager.put (UIManager.java:414)
   at Sketch.main (Sketch.java:76)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:108)
Caused by: java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GdkPixbufDecoder.initStaticState (GdkPixbufDecoder.java)
   at gnu.java.awt.peer.gtk.GdkPixbufDecoder.static{} (GdkPixbufDecoder.java:81)
   at java.lang.VMClass.step8 (VMClass.java)
   at java.lang.Class.initialize (Class.java:147)
   ...11 more

The Sketch app at least works with 1.1.9.  SymbolTest hangs with 1.1.9.

Both of these apps used to work with older versions, so this qualifies
as a regression.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.