I just found an infinite loop while running the GWT compiler.
There was a trivial bug in my code which resulted in an infinite loop at *runtime*. This is a method that was calling itself recursively. It was inside a generic class, and the method had a single line that was something like this:
public class A<T extends B> extends C {
public static <T extends B> A<T> getA(D d, E e, F f) {
return getA(d, e, null);
}
}
I have been running in dev mode with it like this, but not hitting this code so I didn't notice the infinite loop.
Wanting to test GWT 2.11.0, I switched from GWT 2.10.0 and did a full GWT compile. The interesting thing is that the GWT compile also hit an infinite loop. Or rather, it was apparently infinite. I stopped it after 50 minutes, where it would normally complete in about about 90 seconds. I dropped back to 2.10.0, and found the same behaviour. So it's not caused by the new release.
Fixing the bug in my code meant it then compiled properly (in both 2.11.0 and 2.10.0).
Is this interesting enough to warrant further investigation? This is code inside a large application, so isolating a simple example that demonstrates it might not work easily.
Paul