Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
lucmac:sandbox luc$ scalac -version
Scala compiler version 2.11.2 -- Copyright 2002-2013, LAMP/EPFL
lucmac:sandbox luc$ cat Test.scala
package android {
package os {
trait Parcelable {
trait Creator[T]
}
}
}
object C extends android.os.Parcelable {
def foo = 0
}
lucmac:sandbox luc$ scalac Test.scala
lucmac:sandbox luc$ scala -e "C"
java.lang.ClassNotFoundException: C$$
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment