Skip to content

Instantly share code, notes, and snippets.

@stephenh
Created July 31, 2011 18:43
Show Gist options
  • Save stephenh/1117073 to your computer and use it in GitHub Desktop.
Save stephenh/1117073 to your computer and use it in GitHub Desktop.
DefaultKeySet bug
// Debug output from inside of visit(JClassType type, Context cxt) in ControlFlowAnalyzer.java
On split point 20
Visiting final class LinkedHashMap$$anon$1 extends Object implements Iterator
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel$$anon$4::onSuccess
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$onInitialize
scala.collection.mutable.LinkedHashMap::addString
scala.collection.MapLike$class::addString
scala.collection.mutable.LinkedHashMap::iterator
Visiting class MapLike$DefaultKeySet extends Object implements Set, ScalaObject
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel$$anon$4::onSuccess
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$onInitialize
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$createOptionsBar
scala.collection.mutable.LinkedHashMap::keys
scala.collection.MapLike$class::keys
scala.collection.mutable.LinkedHashMap::keySet
scala.collection.MapLike$class::keySet
Visiting final class MapLike$ImmutableDefaultKeySet extends MapLike$DefaultKeySet implements Set, ScalaObject
com.google.gwt.sample.showcase.client.content.i18n.CwDictionaryExample$$anon$1::onSuccess
com.google.gwt.sample.showcase.client.content.i18n.CwDictionaryExample::$onInitialize
com.google.gwt.sample.showcase.client.GWTConversions$::$dictionary2Map
scala.collection.immutable.Map$::$empty
scala.collection.immutable.Map$EmptyMap$::$clinit
scala.collection.immutable.Map$EmptyMap$::$plus$plus
scala.collection.immutable.MapLike$class::$plus$plus
scala.collection.immutable.MapLike$$anonfun$$plus$plus$1::apply
scala.collection.immutable.MapLike$$anonfun$$plus$plus$1::$apply
scala.collection.immutable.Map$EmptyMap$::$plus
scala.collection.immutable.Map$EmptyMap$::$$plus
scala.collection.immutable.Map$EmptyMap$::$updated
scala.collection.immutable.Map$Map1::keySet
scala.collection.immutable.Map$EmptyMap$::keySet
scala.collection.immutable.MapLike$class::keySet
On split point 20
// Neither DefaultKeySet nor HashMap$$anon$1 hit
On split point 34
Visiting final class LinkedHashMap$$anon$1 extends Object implements Iterator
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel$$anon$4::onSuccess
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$onInitialize
scala.collection.mutable.LinkedHashMap::addString
scala.collection.MapLike$class::addString
scala.collection.mutable.LinkedHashMap::iterator
Visiting class MapLike$DefaultKeySet extends Object implements Set, ScalaObject
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel$$anon$4::onSuccess
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$onInitialize
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$createOptionsBar
scala.collection.mutable.LinkedHashMap::keys
scala.collection.MapLike$class::keys
scala.collection.mutable.LinkedHashMap::keySet
scala.collection.MapLike$class::keySet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment