summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/reflect/runtime/Loaders.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/runtime/Loaders.scala b/src/compiler/scala/reflect/runtime/Loaders.scala
index 46ee176b0f..ad6bf34591 100644
--- a/src/compiler/scala/reflect/runtime/Loaders.scala
+++ b/src/compiler/scala/reflect/runtime/Loaders.scala
@@ -90,7 +90,10 @@ trait Loaders { self: SymbolTable =>
def invalidClassName(name: Name) = {
val dp = name pos '$'
- 0 < dp && dp < (name.length - 1)
+ //it's not clear what's the definition of an invalid class name but
+ //implementation class is certainly a valid class that we would
+ //like to load (grek)
+ 0 < dp && dp < (name.length - 1) && !nme.isImplClassName(name)
}
class PackageScope(pkgClass: Symbol) extends Scope {