<div dir="ltr"><div>Hi Steven,<br><br></div>In LibraryCalssPatcher.patchThreadImplementation() you have the following code:<span style="background-color:rgb(228,228,255)"><br><br></span><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:&quot;Courier New&quot;;font-size:9.6pt">SootClass sc = Scene.<span style="font-style:italic">v</span>().getSootClassUnsafe(<span style="color:rgb(0,128,0);font-weight:bold">&quot;java.lang.Thread&quot;</span>);</pre>...<br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:&quot;Courier New&quot;;font-size:9.6pt"><span style="color:rgb(0,0,128);font-weight:bold">while </span>((fldTarget = sc.getFieldByNameUnsafe(<span style="color:rgb(0,128,0);font-weight:bold">&quot;target&quot; </span>+ fieldIdx)) != <span style="color:rgb(0,0,128);font-weight:bold">null</span>)<br>   fieldIdx++;<br>fldTarget = <span style="color:rgb(0,0,128);font-weight:bold">new </span>SootField(<span style="color:rgb(0,128,0);font-weight:bold">&quot;target&quot; </span>+ fieldIdx, runnable.getType());</pre><div><div><br></div><div>Here you create a field with name &quot;thread+&lt;some number&gt;&quot; inside Thread. Why don&#39;t you name it simply &quot;thread&quot;, as it is in JDK?<br><br></div><div>thanks,<br></div><div>-- <br><div><div dir="ltr">Denis<br><br></div></div>
</div></div></div>