diff --git a/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
index b7a2dfdbcd36dd3215145737834699df3fa82af4..6bc3bbbf68315f507108f432998abd9069a415c2 100644
--- a/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
+++ b/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
@@ -76,7 +76,7 @@ protected function getAnnotationReader() {
       $reader = parent::getAnnotationReader();
 
       // Add the Core annotation classes like @Translation.
-      $reader->addNamespace('Drupal\Core\Annotation', array(dirname(dirname(__DIR__)) . '/Annotation'));
+      $reader->addNamespace('Drupal\Core\Annotation');
       $this->annotationReader = $reader;
     }
     return $this->annotationReader;