Pass the SourceInfo of the mainType instead of null to JReboundEntryPoint when the binding isn't immediately known. Prevents an AssertionError when using the -manual flag. Patch by: jlabanca Review by: scottb git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6154 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java index a689889..8d987d6 100644 --- a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java +++ b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
@@ -794,8 +794,8 @@ if (resultTypes.size() == 1) { block.addStmt(entryCalls.get(0).makeStatement()); } else { - JReboundEntryPoint reboundEntryPoint = new JReboundEntryPoint(null, - mainType, resultTypes, entryCalls); + JReboundEntryPoint reboundEntryPoint = new JReboundEntryPoint( + mainType.getSourceInfo(), mainType, resultTypes, entryCalls); block.addStmt(reboundEntryPoint); } }