[Soot-list] Jasmin outputs different class file versions

Chris Pickett chris.pickett at mail.mcgill.ca
Mon Mar 17 22:19:02 EDT 2008


Hi Khilan,

Patrick Lam wrote:
> Before asking a question, try reading it first and asking yourself if
> you've included enough information that someone could possibly say
> something informed in response to your question.

At some point, everybody gets pointed at this document:

http://catb.org/~esr/faqs/smart-questions.html

You'll probably find it a little bit offensive, so just ignore the 
somewhat caustic tone and take the advice inside to heart.

In particular, rather than using the English formulation that you think 
best describes your problem, try to describe your problem in terms of 
precise and accurate machine-level data, be it source code, generated 
code, test cases, input, actual output, expected output, or command line 
transcripts.  Reproducibility and attention to tedious detail are key. 
Practice generating a command-line transcript that illustrates your 
problem with a bare minimum of supporting comments.

Khilan Gudka wrote:
 > The solution is to use Class.forName(java.lang.String) to obtain the
 > class object.

In many cases, answering your own questions is a sign that perhaps not 
hitting send until the next day would have been the best approach. 
Often in the process of writing out emails to explain a problem one 
arrives at an answer independently; this is normal.

Cheers,
Chris


More information about the Soot-list mailing list