harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3569) [classlib][awt] gl library depends on uxtheme.dll which is not present in Windows 2000
Date Wed, 11 Apr 2007 09:35:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488033
] 

Andrey Pavlenko commented on HARMONY-3569:
------------------------------------------

Nathan, you are right. UxTheme is also used by 11 functions from org_apache_harmony_awt_nativebridge_windows_Win32.cpp...

LOAD_LIB(libUxTheme, "UxTheme"); should not cause an error, it should assign NULL to libUxTheme
if the library was not found. I think the error is caused by one of the functions referencing
UxTheme.

To workaround VM crash we could add to each function something like

    if (libUxTheme == NULL) {
    	return 0;
    }

But I don't know how it will behave on win2000.

> [classlib][awt] gl library depends on uxtheme.dll which is not present in Windows 2000
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3569
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3569
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows 2000
>            Reporter: Alexey Petrenko
>         Assigned To: Nathan Beyer
>            Priority: Critical
>         Attachments: HARMONY-3569-WinThemeGraphics.patch, Harmony-3569-WinThemeGraphics.patch
>
>
> AWT uses uxtheme.dll only in one place.
> We should make this dependency optional.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message