<div dir="ltr">In theory, this is a good idea, we probably do want to limit the amount of time spent on each class. <div><br></div><div>However, simply running decompilation in a separate thread will likely not allow us to interrupt the thread. We&#39;ll need to figure out where Procyon is running, and if it actually responds to Thread.interrupt() (I&#39;m betting it doesn&#39;t.) (And how to make sure that it does, which will likely take some extension or modification of Procyon itself.)</div><div><br></div><div>This is definitely something to look in to over the next few weeks/months as we harden this first version of the tool.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 1:42 PM, Brad Davis <span dir="ltr">&lt;<a href="mailto:bdavis@redhat.com" target="_blank">bdavis@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think we could maybe create the decompiler as a runnable, and interrupt the thread with a timeout if the decompiler takes more than a minute for a class, which should be plenty of time.  We should log this, though, to make sure they are aware that one of the classes did not successfully decompile.<br>
<br>
Brad Davis<br>
Senior Manager, Red Hat Consulting<br>
Email: <a href="mailto:bdavis@redhat.com">bdavis@redhat.com</a> | c: <a href="tel:980.226.7865" value="+19802267865">980.226.7865</a> | <a href="http://www.redhat.com" target="_blank">http://www.redhat.com</a><br>
<div><div class="h5"><br>
<br>
----- Original Message -----<br>
From: &quot;Ondrej Zizka&quot; &lt;<a href="mailto:ozizka@redhat.com">ozizka@redhat.com</a>&gt;<br>
To: &quot;Windup-dev List&quot; &lt;<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>&gt;<br>
Sent: Tuesday, October 14, 2014 11:55:17 AM<br>
Subject: [windup-dev] Windows Issues<br>
<br>
Hi,<br>
<br>
I&#39;ve tried on Windows 7 64bit, Oracle JDK 1.7.0_67.<br>
<br>
The tests fail with WINDUP-335 and WINDUP-332 .<br>
The run against Tim&#39;s EAR get stuck on Decompilation for about 8 hours, seems it&#39;s in an endless loop. WINDUP-337<br>
<br>
<br>
Is Windows a priority? Do we have estimation on what portion of users will run on Windows?<br>
<br>
Ondra<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div>