abuerki / gwtai

Automatically exported from code.google.com/p/gwtai
3 stars 2 forks source link

bug fix for SeparateJVM annotation #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
There is a little copy&paste error. This is the patch:

Index: src/com/google/gwt/gwtai/applet/generator/AppletProxyGenerator.java
===================================================================
--- 
src/com/google/gwt/gwtai/applet/generator/AppletProxyGenerator.java (revision 
212)
+++ 
src/com/google/gwt/gwtai/applet/generator/AppletProxyGenerator.java (working 
copy)
@@ -293,9 +293,9 @@
                sw.indent();
                sw.println("public Boolean hasSeparateJVM() {");
                sw.indent();
-               sw.print("return \"");
-               sw.print(javaArgumentsAttribute.value());
-               sw.println("\";");
+               sw.print("return ");
+               sw.print(String.valueOf(separateJVM.value()));
+               sw.println(";");
                sw.outdent();
                sw.println("}");
                sw.outdent();

bye
Emiliano Parasassi

Original issue reported on code.google.com by milla...@gmail.com on 14 Feb 2012 at 3:33