<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>I am working on&nbsp;writing an&nbsp;application that extends soot and I came across some inconsistent behaviour. In the 2.5.0 version of Soot, all classes on the Java classpath are also on the Soot classpath. However, for the nightly build (as of today - 6/3/15),
 this is not the case and only those classes explicitly specified&nbsp;with&nbsp;the -cp flag on the command line&nbsp;to&nbsp;the&nbsp;Soot Main are on the Soot classpath.</p>
<p><br>
</p>
<p>Thus, for example, if&nbsp;the following command was run, then&nbsp;for Soot-2.5.0, soot.package.TesterClass would be listed as an application class&nbsp;in scene.getApplicationClasses(). Whereas, in the Soot-nightly, there would be a ClassNotFound Exception. Assuming
 soot.package.TesterClass is present in Tester.jar only.<br>
</p>
<p><br>
</p>
<p>java -cp Tester.jar soot.SootMain -cp some-dir&nbsp;soot.package.TesterClass [other options]</p>
<p><br>
</p>
<p>This seems to be similar to the issue rockflying describes here: <a id="LPlnk27377" href="https://github.com/Sable/soot/issues/284">
https://github.com/Sable/soot/issues/284</a></p>
<p><br>
</p>
<p>Should I open up a new issue for this or is this the expected behaviour?</p>
<p><br>
</p>
<p><span id="ms-rterangepaste-end">Thanks,</span></p>
<div style="margin-top: 20px; margin-bottom: 20px; overflow: auto; width: 100%;" id="LPBorder_GT_14333183384140.4428183044482682">
<table style="border-top: 1px solid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204); width: 80%; background-color: rgb(255, 255, 255); position: relative; overflow: auto;" id="LPContainer_14333183384100.34399023665605677">
<tbody>
<tr valign="top">
<td colspan="1" style="width: 140px; position: relative; display: table-cell; padding: 0px;" id="ImageCell_14333183384110.3561787375929506">
<div style="margin-top: 12px; background-color: rgb(255, 255, 255); height: auto; width: 140px; position: relative; display: table;" id="LPImageContainer_14333183384110.2150727284544245">
<a target="_blank" href="https://github.com/Sable/soot/issues/284" style="display: table-cell; text-align: center;" id="LPImageAnchor_14333183384120.9158106949513382"><img aria-label="Preview image with link selected. Double-tap to open the link." style="display: inline-block; margin-left: auto; margin-right: auto; max-width: 140px; max-height: 140px; height: 140px; width: 140px; border-width: 0px;" height="140" width="140" src="https://avatars2.githubusercontent.com/u/1079349?v=3&amp;s=400"></a></div>
</td>
<td>
<div style="top: 0px; margin-top: 8px; font-size: 21px; font-family: 'wf_segoe-ui_semilight','Segoe UI Semilight','Segoe WP Semilight','Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; color: rgb(51, 51, 51); margin-left: 14px; margin-right: 14px;" id="LPTitle_14333183384130.004901643947325951">
soot.SootResolver$SootClassNotFoundException when ... · Issue #284 · Sable/soot · GitHub</div>
<div style="margin-top: 8px; font-size: 13px; font-family: 'wf_segoe-ui_normal','Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; color: rgb(102, 102, 102); margin-left: 14px; margin-right: 14px;" id="LPDescription_14333183384140.9224256332320628">
Steps to reproduce: 1.) This is my command line: java -cp soot-trunk.jar soot.Main -cp /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre/lib/rt.jar:&quot;../benchmarks/Sunflow/sunflow/classes/&quot;:&quot;../benchmarks/Sunflow/sunflow...</div>
<div style="margin: 8px 14px 10px; height: 18px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;" id="LPUrlContainer_14333183384140.766982453146478">
<a target="_blank" href="https://github.com/Sable/soot/issues/284" style="font-size: 11px; font-family: 'wf_segoe-ui_normal','Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; text-decoration: none;" id="LPUrlAnchor_14333183384140.5323478046991266">Read more...</a></div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p></p>
</div>
</body>
</html>