[Bug 373] New: [PATCH] ignore MToolkit

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Jul 31 02:42:37 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=373

           Summary: [PATCH] ignore MToolkit
           Product: IcedTea
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: mvyskocil at suse.cz


Icedtea removes motif AWT support from openjdk. But the JVM still allows to
select a toolkit [1], because it recognizes an AWT_TOOLKIT variable, or
awt.toolkit property. If Mtoolkit is specified, it causes those errors:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/i386/motif21/libmawt.so

as described in bnc#520903 [2]. Following patch ignores explicitly settings and
use XToolkit, even if the MToolkit is specified.

[1] http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.5/xawt.html
[2] https://bugzilla.novell.com/show_bug.cgi?id=520903


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list