To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102164


User brinzing changed the following:

                What    |Old value                 |New value
================================================================================
                 Summary|DEV300m48: java extensions|DEV300m48: java extensions
                        | won't work - no gui is sh| won't work - classloader 
                        |own                       |problem
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Wed Jun  3 18:34:26 
+0000 2009 -------
remote debugging seems to work with DEV300m49.

a lot of java extensions will fail to work cause there seems to be a problem 
with the classloader, for example: 

this.xFactory = javax.xml.xpath.XPathFactory.newInstance(); 
will fail with a NullPointerExeception, cause classloader is null.

another example: calling javax.swing.JEditorPane

public static void registerEditorKitForContentType(String type, String 
                          classname, ClassLoader loader) {
  getKitTypeRegistry().put(type, classname);
  getKitLoaderRegistry().put(type, loader);
  getKitRegisty().remove(type);
}
will fail too.

Marcin (see http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=24955 for
details) gave me some hints:

adding Thread.currentThread().setContextClassLoader(
getClass().getClassLoader()); will solve the problem temporary

but he mentioned this can be seen only as a hack ;-)

i used JRE 1.6_13 and 1.6_14 for my tests.
a bugfix should work with JRE 1.5 for MAC users too ;-)

btw: there a no problems with oo 3.1 - so i think we have a regression.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to