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


User uga changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|RESOLVED                  |UNCONFIRMED
--------------------------------------------------------------------------------
              Resolution|WONTFIX                   |
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Sep 11 15:25:37 +0000 
2008 -------
Hi sb,

I agree that it may be hard to implement, although I think the affected code 
will be 
confined to UNO jars only (unoil.jar, ridl.jar, jurt.jar, jug.jar). However, 
let's point 
out that there is one OpenOffice.org and there are potentially hundreds of 
extensions for 
it written in Java. By not providing it in OpenOffice.org we introduce a major 
road-block 
to extension developers. I am confident that a majority will abandon their 
project blaming 
it on bugs in OpenOffice.org even before you get a chance to explain that they 
have to add 
the line

Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());

to every method in every listener and every callback class such as XAsyncJob. I 
am lucky to 
be paid for writing OpenOffice.org extensions, so I'm not going anywhere :)

So, let's not rush marking this issue RESOLVED (WONTFIX) and make an attempt to 
fix it. It 
was an unintended side-effect or the new class loader architecture (which is 
otherwise 
simply fantastic!) and deserves some attention. I have gone through several 
mail threads 
where people hit this problem but everyone has their own explanation, which 
indicates that 
the issue is not obvious and developers get confused. I myself spent hours in 
Eclipse 
debugger to narrow down the problem. It is not documented (or at least not 
indexed by 
google) and due to misunderstanding from developers I keep finding wrong 
solutions, such as 
adding dependent libraries to the root classpath or changing the way I load 
resources which 
is not possible when I use 3rd party libraries, such as Spring.

Relevant mail threads:

http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=912
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07637.html
http://www.openoffice.org/issues/show_bug.cgi?id=75767
http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19584



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