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





------- Additional comments from mux2...@openoffice.org Fri Sep 18 16:31:45 
+0000 2009 -------
I don't think the world will ever be cleaned up. New incorrect uses of the
context classloader comparable to that in JEditorPane() will spring up as fast
as they are fixed in other places. There are many 3rd party Java libraries. How
could we ever verify them all?
I am a very experienced Java developer and I freely admit that I have only a
basic understanding of classloaders. And I do think I am very representative of
Java developers in this regard. It is irrelevant if developers should care more
about classloaders and should take more time to study all of their intricacies.
They don't. And this won't change. Classloaders are and will forever remain one
of the obscure aspects of Java that developers only care about when things
break. It is telling that it is a part of Swing's core code that has brought
this issue to life. If even Sun's developers can't get context classloader use
right, what do you expect?

So I believe that the only safe choice (and IMHO only a safe choice is
acceptable in an important application such as OOo) is to keep the current
AttachGuard as the general case and only add the optimization where it is known
to be safe. And since the normal AttachGuard can simply call the code of the
FastAttachGuard and then add the classloader setup code, there is no redundant
code that would cause a maintenance issue.

---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to