You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2011/03/08 00:50:59 UTC

[jira] Issue Comment Edited: (PIVOT-687) BXMLSerializer, would like to be able to specify a classloader for loading custom components

    [ https://issues.apache.org/jira/browse/PIVOT-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003699#comment-13003699 ] 

Sandro Martini edited comment on PIVOT-687 at 3/7/11 11:49 PM:
---------------------------------------------------------------

first (minimal) version, just to fix the (wrong) behavior.

In there aren't objections, I can commit this (now, or max before the end of the week), and later make a more general fix so I can pass here a custom Classloader too (post here a patch2 before applying it).

      was (Author: smartini):
    first (minimal) version, just to fix the (wrong) behavior
  
> BXMLSerializer, would like to be able to specify a classloader for loading custom components
> --------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-687
>                 URL: https://issues.apache.org/jira/browse/PIVOT-687
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-beans
>    Affects Versions: 2.0
>         Environment: all
>            Reporter: GBivins
>            Assignee: Sandro Martini
>             Fix For: 2.0.1
>
>         Attachments: patch.patch
>
>
> I'm running into issues trying to load my pivot window into a swing application. Some background,
> since pivot 2.0 can load components into a swing application, I've been trying to integrate pivot into a netbeans platform application.
> Only been at it a couple of hours but I'm stuck on an class loader issue. Basically, because I have pivot wrapped in separate module it's classloader
> can't references classes in any modules that depend on it. See here:
> http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#loader-hier
> I looked briefly in the docs but I'm not sure if I missed a readObject() signature that will allow me to pass in the classloader to use when de-serializing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira