This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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