Open GoogleCodeExporter opened 9 years ago
Hi, lama, I created a new test case for this, there is no problem, could you
send me some test case for this? Thanks.
Original comment by JamesLuo...@gmail.com
on 20 Aug 2010 at 12:05
Hi, I need to reopen an old issue
Please try this:
Public class x{
private IButton button;
public x(){}
}
It will not compile.
but if u put
Public class x{
public x(){
IButton button;
}
}
it will compile???
The first case will produce stack overflow. I have tried it multiple times.
Original comment by lama.gh...@gmail.com
on 20 Aug 2010 at 9:10
I mean java to javascript compile. Thank you
Original comment by lama.gh...@gmail.com
on 20 Aug 2010 at 9:16
The following is my test case, it's working, could you send me your error
message and call stack? Thanks.
@Reflect_Full
public class SmartGWTComponents3 {
private com.smartgwt.client.widgets.IButton button;
public SmartGWTComponents3() {
}
}
classType = TypeOracle.Instance.getClassType(SmartGWTComponents3.class);
assertTrue(classType != null);
Original comment by JamesLuo...@gmail.com
on 23 Aug 2010 at 11:15
Original comment by JamesLuo...@gmail.com
on 23 Aug 2010 at 11:24
This is the stack trace.
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:500)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:563)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatement(GenerateJavaAST.java:1714)
[java] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:500)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:563)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatement(GenerateJavaAST.java:1714)
[java] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:500)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:563)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.processStatement(GenerateJavaAST.java:1714)
[java] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispatch(GenerateJavaAST.java:500)
[java] at com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.dispProcessStatement(GenerateJavaAST.java:563)
[java] [ERROR] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
Original comment by lama.gh...@gmail.com
on 24 Aug 2010 at 12:46
Attachments:
Can you please try my test case. I cannot get it to work. Thank you for you time
Original comment by lama.gh...@gmail.com
on 25 Aug 2010 at 9:06
Original issue reported on code.google.com by
lama.gh...@gmail.com
on 19 Aug 2010 at 1:37