[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: DEFECT REPORT: compiler generating invalid bytecode
|
Jim Sculley wrote:
> The plot thickens. The code fails with both build 0.128 and build 0.131
> on my work machine. Both machines are Windows NT 4.0sp6a. I'm using
> the default Eclipse VM. The only real differences between the home and
> work machines are processor speed and memory. The home machine is an
> old 200MHz Pentium Pro with 128Mb. The work machine is a 400MHz Pentium
> II with 256Mb. I'm going to triple check my home machine to make sure
> it isn't still 0.9 or something earlier than 0.128. I've downloaded so
> many builds it is hard to remember what is what.
I still have trouble to reproduce the problem. Something seems to be wrong
anyway. Could you please send me the .class files you got when it failed? I'd
like to have a look at them. Meanwhile I'll try to get the Sun 1.3.1 VM. With
the IBM 1.3 VM:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010609 (JIT enabled:
jitc))
I don't have any problem.
I consider that you compile this code:
public class LocalBug {
public static void main(String[] args) {
int foo;
for (int i = 0; i < 1; i++) {
try {
foo = 1;
} catch (Exception e) {
continue;
}
}
}
}
Thanks a lot for your help.
--
Olivier