Aladdin - Scala Bugtracking
[#37] project: compiler priority: high category: bug
submitter assigned to status date submitted
Burak Michel fixed 2003-07-01 18:25:00.0
subject HashMap
code
import scala.collection.mutable.{Map,HashMap} ;

object testMap {
  
  def main( args:Array[String] ) = {

    val foo: HashMap[String,String] = new HashMap[String,String];
    ()
  }

}
what happened
> socos testMap.scala
> java testMap
Exception in thread "main" java.lang.ClassFormatError: scala/HashMap$class (Repetitive method name/signature)
[...]
what expected execution without this runtime error.
[back to overview]
Changes of this bug report
Matthias  edited on  2003-06-25 00:00:00.0
I am not quite sure why this bug was assigned to me, but since it is obviously a (known) problem of the backend, in particular of the AddInterfaces pass, I will re-assign the bug to Michel. He should be aware of it already anyway.
Michel  edited on  2003-06-27 16:01:21.0
This particular example works, and maybe others which use Matthias' maps, but I'm still working on ExpandMixins.
Burak  edited on  2003-07-01 18:20:01.0
(changed status to "open" and project to "compiler", not "api") with the current cvs version it still does not work for me.
Burak  edited on  2003-07-02 17:00:07.0
all right, works for me, too (dangling classes).
Matthias  edited on  2003-09-10 22:58:46.0
I just re-opened the bug again. I have no clue what change triggered the re-appearance of this bug!
Burak  edited on  2003-09-23 18:31:32.0
changed priority
Burak  edited on  2003-09-30 16:42:09.0
It works still fine with the cvs version of today (2009-09-30) .
If you have another example, please file a new bug or make the changes to this one.