multisets
multisets copied to clipboard
jar signing issue?
In Scala worksheets (in eclipse) there is an exception thrown for Bag.configuration.compact[Int] it seems to work fine in other environments. I'm not sure what would be causing this but it is possibly a bug in the sheets implementation.
import scala.collection.Bag
object BugWorksheet {
println("Welcome to the Scala worksheet") //> Welcome to the Scala worksheet
val m1 = Bag.configuration.compact[Int] //> java.lang.SecurityException: class "scala.collection.Bag$"'s signer informat
//| ion does not match signer information of other classes in the same package
//| at java.lang.ClassLoader.checkCerts(Unknown Source)
//| at java.lang.ClassLoader.preDefineClass(Unknown Source)
//| at java.lang.ClassLoader.defineClass(Unknown Source)
//| at java.security.SecureClassLoader.defineClass(Unknown Source)
//| at java.net.URLClassLoader.defineClass(Unknown Source)
//| at java.net.URLClassLoader.access$100(Unknown Source)
//| at java.net.URLClassLoader$1.run(Unknown Source)
//| at java.net.URLClassLoader$1.run(Unknown Source)
//| at java.security.AccessController.doPrivileged(Native Method)
//| at java.net.URLClassLoader.findClass(Unknown Source)
//| at java.lang.ClassLoader.loadClass(Unknown Source)
//| at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
//| at java.lang.ClassLoader.loadClass(Unknown Source)
//| at experimental.BugWorksheet$$anonfun$main$1.a
//| Output exceeds cutoff limit.
}