You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/03/13 19:28:09 UTC

[jira] Updated: (HARMONY-3385) [classlib][swing][netbeans] UIDefaults.getUI() uses wrong classloader

     [ https://issues.apache.org/jira/browse/HARMONY-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasily Zakharov updated HARMONY-3385:
-------------------------------------

    Attachment: Harmony-3385-fix.patch

The attached patch changes getUIClass(comp.getUIClassID()) call to getUIClass(comp.getUIClassID(), comp.getClass().getClassLoader()) to resolve this problem.


> [classlib][swing][netbeans] UIDefaults.getUI() uses wrong classloader
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-3385
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3385
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Vasily Zakharov
>         Attachments: Harmony-3385-fix.patch
>
>
> UIDefaults.getUI(JComponent comp) calls getUIClass(comp.getUIClassID()), and getUIClass(String) uses default class loader to load the specified class, that makes loading UI classes accessible by other class loaders impossible.
> This issue was discovered while trying to run Netbeans.

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