Thanks, Scott. I'm applying it now and building GWT. It's been
catching some JSNI refs in the GWT source, possibly some false-
positive (the JSONParser ones seem to be valid?). The build doesn't
actually fail, though:
[java] [WARN] Warnings in 'jar:file:/Users/matthew/
Documents/dotspots/gwt/trunk-clean/build/lib/gwt-user.jar!/com/google/
gwt/emul/java/util/AbstractHashMap.java'
[java] [WARN] Line 293: Referencing method
'java.util.AbstractHashMap$MapEntryString.new(Ljava/util/
AbstractHashMap;Ljava/lang/String;)': unable to resolve method, expect
subsequent failures
[java] [WARN] Line 432: Referencing method
'java.util.MapEntryImpl.new(Ljava/lang/Object;Ljava/lang/Object;)':
unable to resolve method, expect subsequent failures
[java] [WARN] Warnings in 'jar:file:/Users/matthew/
Documents/dotspots/gwt/trunk-clean/build/lib/gwt-user.jar!/com/google/
gwt/layout/client/LayoutImplIE6.java'
[java] [WARN] Line 338: Referencing method
'com.google.gwt.layout.client.Layout.Alignment.ordinal()': unable to
resolve method, expect subsequent failures
[java] [WARN] Line 340: Referencing method
'com.google.gwt.layout.client.Layout.Alignment.ordinal()': unable to
resolve method, expect subsequent failures
[java] [WARN] Warnings in 'jar:file:/Users/matthew/
Documents/dotspots/gwt/trunk-clean/build/lib/gwt-user.jar!/com/google/
gwt/json/client/JSONParser.java'
[java] [WARN] Line 98: Referencing method
'com.google.gwt.json.client.JSONArray.new(Lcom/google/gwt/core/client/
JavaScriptObject;)': unable to resolve method, expect subsequent
failures
[java] [WARN] Line 102: Referencing method
'com.google.gwt.json.client.JSONObject.new(Lcom/google/gwt/core/client/
JavaScriptObject;)': unable to resolve method, expect subsequent
failures
On 19-Nov-09, at 9:18 AM, Scott Blum wrote:
> @Matt: IIRC you are hittnig this because you have a parse error in
> one of your JSNI methods. Either apply my patch and try it again,
> or else binary search for the offending method by commenting hafl of
> them out at a time. The good news is the error will likely repro in
> hosted mode, so it shouldn't take too long.
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors