This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 200809220201) VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-21-generic, amd64 User Comments: dynamite: package example import scala.collection.mutable.| object C class ChecksumAccumulator { private var sum=0 def add(b: Byte) {sum += b} def checksum() {~(sum & 0xFF) + 1} } With the cursor at | I tried to type Map and got this exception. Stacktrace: java.lang.AssertionError: scala.collection.mutable.Undoable at com.sun.tools.javac.code.Types.makeCompoundType(Types.java:1588) at com.sun.tools.javac.code.Types.setBounds(Types.java:1792) at com.sun.tools.javac.jvm.ClassReader.sigToTypeParam(ClassReader.java:808) at com.sun.tools.javac.jvm.ClassReader.sigToTypeParams(ClassReader.java:778) at com.sun.tools.javac.jvm.ClassReader.sigToTypeParams(ClassReader.java:762) at com.sun.tools.javac.jvm.ClassReader.readTypeParams(ClassReader.java:493)
Created attachment 70519 [details] stacktrace
Caused by the invalid 'Signature' attribute of the 'scala.collection.mutable.RevertableHistory' class contained in the 'scala-library.jar' (version: scala-2.7.2.RC1): <A:Lscala/collection/mutable/Undoable;:Lscala/collection/mutable/Undoable;B:Ljava/lang/Object;>Lscala/collection/mutable/History<TA;TB;>;Lscala/collection/mutable/Undoable;Lscala/ScalaObject;; See class file format spec - http://java.sun.com/docs/books/jvms/second_edition/ClassFileFormat-Java5.pdf page 105. Older versions of this library seem to be valid (I have checked 2.7.1.final). Reassigning to Scala.