On Wed, May 29, 2002 at 09:47:46AM +0200, Ulf Ochsenfahrt wrote:
> The normal Java-Compilers do NOT produce this type of code - reusing local
> variables with different types.
Try compiling the attatched code with Kopi or Jikes (which I have on my box)
and try disassembling it ... (with jdasm of course). See the istore_0 and
lstore_0 in the same function ?
Language specs should be followed , not ignored or taken for granted ....
otherwise you'll find yourself tearing your hair when that app you wrote
doesn't port well..... and it's fun debugging bytecode.
> The real problem is that Java-Code normally uses the Java API ....
That is *after* the bytecode has been correctly parsed ... I guess
this discussion isn't doing mono any good ...... nor is mono going
anywhere near Java (Miguel himself said that he started Mono because
he didn't like Java's "Give and Take" combo)....
public class x
{
public static void Main()
{
for(int i=0;i<10;i++)
{
}
long j=10;
}
}