Date: Fri, 30 May 2003 12:31:45 -0400 (EDT) From: C. Scott Ananian To: jsr14-prototype-comments@sun.com Subject: Strange changes in java.util.Map. Previously, java.util.Map.get had the signature: public V get(Object key); In the new 2.0 prototype compiler, it has the signature public V get(K key); in both oldcollect.jar and collect.jar, but the remove method still has the signature public V remove(Object key); This is very strange, to say the least. One or the other of these signatures is certainly a bug. Which is it? --scott [if the get() signature stays as it is, all my GJ code will need massive re-writing, because I often subclass or implement java.util.Map. Not that that's an argument one way or another. It's just a frustration. =) ] Honduras $400 million in gold bullion OVER THE HORIZON RADAR North Korea Hussein Uzi fissionable WTO COBRA JANE Yeltsin Echelon assassination politics ( http://cscott.net/ ) Date: Fri, 30 May 2003 09:41:22 -0700 From: Neal M Gafter To: C. Scott Ananian Cc: jsr14-prototype-comments@sun.com Subject: Re: Strange changes in java.util.Map. The change was accidental. I'll be sure to change this back to get(Object) in the next prototype. Since you have all the collections sources included with the prototype, you can do it yourself for your own use. -Neal