Eric Bodden wrote:
>
> HOWEVER, the actual real problem: No class file is ever being
> generated for SootProblem$1. Hence, I don't see how the class can have
> any definition at all. Yet, when you add a main-method to the class,
> instantiating SootProblem, the code loads and runs just fine. How can
> this possibly work? I am confused.
The SootProblem$1 class is never actually used, so needn't be loaded. If
you added a static initialiser to SootProblem$1, it wouldn't be run.
> (The problem for us is that we have a static program analysis tool,
> Soot, which expects to be able to find a definition for SootProblem$1,
> sinc eit is referenced.)
Then don't write code like that. :)
Tom Hawtin


|