diff --git a/akka-actor/src/main/scala/akka/japi/JavaAPI.scala b/akka-actor/src/main/scala/akka/japi/JavaAPI.scala
index 5ab556d82c..642600f2bd 100644
--- a/akka-actor/src/main/scala/akka/japi/JavaAPI.scala
+++ b/akka-actor/src/main/scala/akka/japi/JavaAPI.scala
@@ -5,10 +5,10 @@
package akka.japi
import language.implicitConversions
-
import scala.Some
import scala.reflect.ClassTag
import scala.util.control.NoStackTrace
+import scala.runtime.AbstractPartialFunction
/**
* A Function interface. Used to create first-class-functions is Java.
@@ -53,7 +53,7 @@ trait Creator[T] {
def create(): T
}
-object PurePartialFunction {
+object JavaPartialFunction {
sealed abstract class NoMatchException extends RuntimeException with NoStackTrace
case object NoMatch extends NoMatchException
final def noMatch(): RuntimeException = NoMatch
@@ -71,7 +71,7 @@ object PurePartialFunction {
* that expensive).
*
* {{{
- * new PurePartialFunction