harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3385) [classlib][swing][netbeans] UIDefaults.getUI() uses wrong classloader
Date Tue, 13 Mar 2007 18:28:09 GMT

     [ 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.

View raw message