<div dir="ltr">FYI<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Igor Fedorenko</b> <span dir="ltr">&lt;<a href="mailto:igor@ifedorenko.com" target="_blank">igor@ifedorenko.com</a>&gt;</span><br>


Date: Thu, Jul 3, 2014 at 7:27 AM<br>Subject: Re: [m2e-dev] Fwd: [jbosstools-dev] Possibly critical issue with forge or m2e<br>To: <a href="mailto:m2e-dev@eclipse.org" target="_blank">m2e-dev@eclipse.org</a><br><br><br>First and foremost, avoid truezip as a plague. This, along with couple<br>



of other true* libraries I&#39;ve looked at, constitute some of the most<br>
complicated and overengineered pieces of code I&#39;ve ever seen :-)<br>
<br>
I have not looked at truezip sources and don&#39;t know what kind of class<br>
lookup it uses, there was a similar problem reported in 396554 [1],<br>
which appears to be a general problem when using TCCL with<br>
Equinox/ContextFinder and Class.forName. There are couple of articles<br>
linked from the bugzilla that explain the problem in more details,<br>
probably [2] the most detailed and relevant.<br>
<br>
In any case, I am not aware of any thread context classloader &quot;leaks&quot; in<br>
m2e, so if somebody believes there is such leak please provide a quality<br>
fix and I&#39;ll review and apply it.<br>
<br>
[1] <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=396554" target="_blank">https://bugs.eclipse.org/bugs/<u></u>show_bug.cgi?id=396554</a><br>
[2] <a href="http://blog.bjhargrave.com/2007/07/contextfinder-in-eclipse-is-broken.html" target="_blank">http://blog.bjhargrave.com/<u></u>2007/07/contextfinder-in-<u></u>eclipse-is-broken.html</a><br>
<br>
--<br>
Regards,<br>
Igor<br>
<br>
On 2014-07-03, 0:43, Fred Bricon wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Transferring from <a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.jboss.org</a><br>
&lt;mailto:<a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.<u></u>jboss.org</a>&gt; to a wider audience. Does it<div><br>
ring a bell to anyone?<br>
<br>
---------- Forwarded message ----------<br>
<br>
Hey all:<br>
<br>
A user found a strange bug while using astools and publishing a zipped<br>
project. The bug is basically that truezip ( a library we use) can&#39;t<br>
initialize because it can&#39;t find a class. It can&#39;t find the class<br>
because the thread&#39;s classloader is from plexus classrealms, and not the<br>
standard eclipse classloader that we&#39;d expect.<br>
<br>
So basically, either forge or m2e is changing a worker&#39;s classloader,<br>
and not putting it back. This (if true) could be a critical issue, since<br>
that thread / worker will probably never have the proper classloader<br>
again for the workspace session.<br>
<br>
I encourage anyone with access to m2e or forge to look into this and<br>
verify their respective codebases are behaving properly with regards to<br>
classloaders. Feel free to look at the jira and ask any for more details<br>
or any questions you might have that might help in tracking this down.<br>
<br>
<a href="https://issues.jboss.org/browse/JBIDE-17700" target="_blank">https://issues.jboss.org/<u></u>browse/JBIDE-17700</a><br>
______________________________<u></u>_________________<br>
jbosstools-dev mailing list<br>
</div><a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.jboss.org</a>  &lt;mailto:<a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.<u></u>jboss.org</a>&gt;<div>


<br>
<a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/<u></u>mailman/listinfo/jbosstools-<u></u>dev</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
&quot;Have you tried turning it off and on again&quot; - The IT Crowd<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
m2e-dev mailing list<br>
<a href="mailto:m2e-dev@eclipse.org" target="_blank">m2e-dev@eclipse.org</a><br>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit<br>
<a href="https://dev.eclipse.org/mailman/listinfo/m2e-dev" target="_blank">https://dev.eclipse.org/<u></u>mailman/listinfo/m2e-dev</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
m2e-dev mailing list<br>
<a href="mailto:m2e-dev@eclipse.org" target="_blank">m2e-dev@eclipse.org</a><br>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit<br>
<a href="https://dev.eclipse.org/mailman/listinfo/m2e-dev" target="_blank">https://dev.eclipse.org/<u></u>mailman/listinfo/m2e-dev</a><br>
</div><br><br clear="all"><div><br></div>-- <br>&quot;Have you tried turning it off and on again&quot; - The IT Crowd
</div>