Bug#483919: classpath-qtpeer: Classpath AWT support still royally broken

Josef Spillner 2005 at kuarepoti-dju.net
Sun Jun 1 08:51:10 UTC 2008


Package: classpath-qtpeer
Version: 2:0.97.1-3
Severity: normal

I'm trying to run a hybrid Java applet/application on an AMD64 sid machine. While my goal
would be to get the applet running, I'm already stuck with some Classpath bugs regarding
any GUI activity of the application.

When using gij-4.3 with the Gtk+ peers, the application just hangs instead of opening a
window. Selecting the Qt peers doesn't seem to be possible. When deliberately giving it a
wrong URL, it should just show an error message box. It does so with the Gtk+ peers although
the text is not readable on it and the button cannot be clicked.

When using cacao instead of gij-4.3, I can select the Qt peers. But it doesn't help, instead
the backtrace hints at some missing methods in the peers.

$ cacao -Dawt.toolkit=gnu.java.awt.peer.qt.QtToolkit -jar ggz-java-client.jar -uri foo
QPixmap: It is not safe to use pixmaps outside the GUI thread
[...]
Exception in thread "main" java.lang.UnsupportedOperationException
   at gnu.java.awt.peer.qt.QtFontPeer.getLineMetrics(QtFontPeer.java:188)
   at java.awt.Font.getLineMetrics(Font.java:1029)
[...]
   at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:1442)

The JAR file can be downloaded from:
  http://us.ggzgamingzone.org/~josef/ggz-java-client.jar
It works fine with the latest JDK7 builds and other Sun releases.

Ideally, the bug would be considered fixed when the application runs without any problems.
But any sort of status information and hints would already help. According to Tom Marble's
Debconf7 talk, OpenJDK would become a Lenny release goal, but it doesn't seem to be the case
according to release.debian.org.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages classpath-qtpeer depends on:
ii  libc6                         2.7-11     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.0-4  GCC support library
ii  libqtcore4                    4.4.0-2    Qt 4 core module
ii  libqtgui4                     4.4.0-2    Qt 4 GUI module
ii  libstdc++6                    4.3.0-4    The GNU Standard C++ Library v3

classpath-qtpeer recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list