Closed dankurka closed 9 years ago
This problem occurs specifically with the "finalize" method. Object methods get
special treatment during GenerateJavaScriptAST, and I missed including a
pre-obfuscated ident for "finalize".
Reported by gwt.team.scottb
on 2007-09-17 19:52:06
Started
Committed as r1438.
Reported by gwt.team.scottb
on 2007-09-18 18:53:40
FixedNotReleased
Reported by sumitchandel+legacy@google.com
on 2008-04-28 23:20:12
I am getting something similar, but my workaround was different (changing the code
generation style did not work).
In my case, I had to remove a function call in my onModuleLoad(). In the snippet
below, I commented out the doCommand and everything worked.
public void onModuleLoad()
{
singleton = this;
GWT.setUncaughtExceptionHandler(new MyUncaughtExceptionHandler());
doCommand("init");
}
static public void doCommand(String action)
{
I'm using 1.5 RC1
Stack trace attached. The error pointed to completely unrelated code. I had to
backtrack from a version that did compile to find this.
Reported by fileformat
on 2008-07-11 14:42:38
This is an unrelated bug that has been fixed since RC1.
Reported by scottb+legacy@google.com
on 2008-07-11 15:47:44
1_5_RC has been released.
Reported by scottb+legacy@google.com
on 2008-08-14 02:24:19
Fixed
Reported by rjrjr@google.com
on 2011-02-09 00:18:08
A similar thing happens in 2.2:
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:108)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:146)
[...]
I managed to track it down, it was because of an unfinished for loop (simplified here):
//
for (Integer value : new ArrayList<Integer>())
; // TODO
//
It seems that the compiler cannot optimize it out and commits hara kiri :).
Reported by papuska
on 2011-04-01 20:00:21
Can you please file a new bug? This isn't related to the issue you're updating.
Reported by scottb@google.com
on 2011-04-01 20:09:13
Originally reported on Google Code with ID 1659
Reported by
giancarlo.todone
on 2007-09-16 00:17:55