<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI Semilight";
        panose-1:2 11 4 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Naveen, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Soot only prepends the Java classpath to the Soot classpath if you explicitly specify the &#8211;pp or &#8211;prepend-classpath option. This is important since you sometimes don&#8217;t want the JDK on the Soot classpath. If you are, for instance, analyzing Android applications, this could lead to wrong results as Android uses its own framework which is slightly different from the JDK. Another use case would be to run Soot with one Java version, but analyze a Java program together with a different target JDK.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; Steven<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> soot-list-bounces@CS.McGill.CA [mailto:soot-list-bounces@CS.McGill.CA] <b>Im Auftrag von </b>Naveen Neelakandan<br><b>Gesendet:</b> Mittwoch, 3. Juni 2015 10:02<br><b>An:</b> soot-list@CS.McGill.CA<br><b>Betreff:</b> [Soot-list] Soot and Java class path<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div id=divtagdefaultwrapper><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Hello,<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>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.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>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.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>java -cp Tester.jar soot.SootMain -cp some-dir&nbsp;soot.package.TesterClass [other options]<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>This seems to be similar to the issue rockflying describes here: <a href="https://github.com/Sable/soot/issues/284" id=LPlnk27377>https://github.com/Sable/soot/issues/284</a><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Should I open up a new issue for this or is this the expected behaviour?<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Thanks,<o:p></o:p></span></p><div style='margin-top:15.0pt;margin-bottom:15.0pt;overflow:auto' id="LPBorder_GT_14333183384140.4428183044482682"><table class=MsoNormalTable border=1 cellpadding=0 width="80%" style='width:80.0%;background:white;border-top:solid #CCCCCC 1.0pt;border-left:none;border-bottom:solid #CCCCCC 1.0pt;border-right:none'><tr><td width=140 valign=top style='width:105.0pt;border:none;padding:0cm 0cm 0cm 0cm'><div style='margin-top:9.0pt;display:table' id="LPImageContainer_14333183384110.2150727284544245"><p class=MsoNormal style='background:white'><a href="https://github.com/Sable/soot/issues/284" target="_blank"><span style='text-decoration:none'><img border=0 width=140 height=140 id="_x0000_i1025" src="https://avatars2.githubusercontent.com/u/1079349?v=3&amp;s=400"></span></a><o:p></o:p></p></div></td><td valign=top style='border:none;padding:.75pt .75pt .75pt .75pt'><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt' id="LPTitle_14333183384130.004901643947325951"><p class=MsoNormal><span style='font-size:16.0pt;font-family:"Segoe UI Semilight","sans-serif";color:#333333'>soot.SootResolver$SootClassNotFoundException when ... &middot; Issue #284 &middot; Sable/soot &middot; GitHub<o:p></o:p></span></p></div><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt' id="LPDescription_14333183384140.9224256332320628"><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#666666'>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...<o:p></o:p></span></p></div><div style='margin-left:10.5pt;margin-top:6.0pt;margin-right:10.5pt;margin-bottom:7.5pt;text-overflow: ellipsis;overflow:hidden' id="LPUrlContainer_14333183384140.766982453146478"><p class=MsoNormal><a href="https://github.com/Sable/soot/issues/284" target="_blank"><span style='font-size:8.5pt;font-family:"Segoe UI","sans-serif";text-decoration:none'>Read more...</span></a><o:p></o:p></p></div></td></tr></table></div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p></div></div></body></html>