aboutsummaryrefslogtreecommitdiff
path: root/guava-gwt/src/com/google/common/collect/Collect.gwt.xml
diff options
context:
space:
mode:
authorChris Povirk <cpovirk@google.com>2014-03-19 14:43:32 -0400
committerChris Povirk <cpovirk@google.com>2014-03-19 14:43:32 -0400
commit172f9c9f6c58c6ae3652f4b76c61787127df0929 (patch)
tree227a802100de1d331a721db900060368ed1c3847 /guava-gwt/src/com/google/common/collect/Collect.gwt.xml
parent26ad5e4e1bbf6f419ace3ac31943fe0ede56a44a (diff)
downloadguava-172f9c9f6c58c6ae3652f4b76c61787127df0929.tar.gz
Make AtomicLongMap tests work under GWT.
See the comments added to the .gwt.xml files for the sordid details. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=63401251
Diffstat (limited to 'guava-gwt/src/com/google/common/collect/Collect.gwt.xml')
-rw-r--r--guava-gwt/src/com/google/common/collect/Collect.gwt.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/guava-gwt/src/com/google/common/collect/Collect.gwt.xml b/guava-gwt/src/com/google/common/collect/Collect.gwt.xml
index ecb055e59..6aedfe097 100644
--- a/guava-gwt/src/com/google/common/collect/Collect.gwt.xml
+++ b/guava-gwt/src/com/google/common/collect/Collect.gwt.xml
@@ -9,6 +9,8 @@
<exclude name="**/testing/**"/>
</source>
+
+ <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package: http://goo.gl/CO7dLB The summary is that it ignores one file in favor of the other. util.concurrent, like nearly all our packages, has two .gwt.xml files: one for prod and one for tests. util.concurrent, unlike our other packages, has, as of this writing, test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) -->
<super-source path="super"/>