JDK-4981321 : Regression: SwingSet2 demo failed loading GTK L&F in RH9 for beta2-b35
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_9.0
  • CPU: x86
  • Submitted: 2004-01-21
  • Updated: 2004-03-19
  • Resolved: 2004-01-28
Related Reports
Duplicate :  
Description
When doing SWAT testing for beta2-b35, I found the SwingSet2 demo cannnot load GTK L&F in RH9.  It throws the following error message:
--------------------
failed loading L&F: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
java.lang.ArrayIndexOutOfBoundsException: -100
--------------------

In AMD-SLES64, the GTK L&F can be loaded, but throws the following message:
--------------------
usr/share/themes/Metal/gtk-2.0/gtkrc:56: Failed to parse property value " etched-in " for `GtkSpinButton::shadow-type'
-------------------

In Sol10, GNOME2 desktop, the GTK L&F can be loaded and throws the known exceptions: Binding assignment is unsupported, ignoring

System tested:
1.
Linux dip 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux
Red Hat Linux release 9 (Shrike)

2.
Linux rukbat 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
Red Hat Linux release 9 (Shrike)

STEP TO REPRODUCE:
------------------
1. Install beta2-b35 bundle
2. Launch SwingSet2 demo
3. Invoke GTK Look&Feel

No such issue happens in beta1 b32 build.
###@###.### 2004-01-21

Comments
EVALUATION Three platforms tested: RH9 - GTKLookAndFeel failed to load. This is a bug that needs more investigation. AMD-SLES64 - This looks to be a result of a bogus entry in a gtkrc file. "etched-in" is not a valid value for GtkSpinButton::shadow-type. The correct constant would be "SHADOW_ETCHED_IN". Sol10, GNOME2 - As the submitter says, these are known warnings. We currently don't support bindings in gtkrc files. Another RFE exists for this issue. ###@###.### 2004-01-21 Name: omR10226 Date: 01/27/2004 I could reproduce it only with the theme 'Crux'. ====================================================================== Name: omR10226 Date: 01/28/2004 Duplicate of 4962642. ======================================================================
11-06-2004