Author: amitman...@google.com
Date: Wed Feb 25 14:45:55 2009
New Revision: 4873

Modified:
    trunk/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java

Log:
This patch adds identifiers that cause loading of the java plugin in the
browser to the blacklist of identifiers that must not be used in the  
generated
javascript

Patch by: amitmanjhi
Review by: jgw (desk review)



Modified: trunk/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java
==============================================================================
--- trunk/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java       
(original)
+++ trunk/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java       Wed Feb 
 
25 14:45:55 2009
@@ -102,6 +102,13 @@
          // Functions commonly defined on Object
          "toString", "getClass", "constructor", "prototype",

+        /*
+         * These keywords trigger the loading of the java-plugin. For the
+         * next-generation plugin, this results in starting a new Java  
process.
+         */
+        "java", "Packages", "netscape", "sun", "JavaObject", "JavaClass",
+        "JavaArray", "JavaMember",
+
          // GWT-defined identifiers
          "$wnd", "$doc", "$moduleName", "$moduleBase", "$gwt_version",



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to