Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

jar signing issue? #27

Open
marklemay opened this issue Feb 13, 2017 · 0 comments
Open

jar signing issue? #27

marklemay opened this issue Feb 13, 2017 · 0 comments

Comments

@marklemay
Copy link

marklemay commented Feb 13, 2017

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.
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant