[
https://issues.apache.org/jira/browse/PIVOT-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005433#comment-13005433
]
Sandro Martini commented on PIVOT-687:
--------------------------------------
Note that patch2 now makes obsolete the previous patch.
I've done some tests with the Kitchen Sink demo: using the old (zero argument
constructor), and using the new but passing null, or a ClassLoader created in
the usual 3 ways describer at the start of this ticket, and in all cases all
works good.
Tell me if something in not good, or without objections next week I'll commit
this fix.
I'll try to contact the original reporter for this ticket, and see if this fix
is good even for him.
> 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, patch2.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