diff -u b/core/lib/Drupal/Core/Utility/ThemeRegistry.php b/core/lib/Drupal/Core/Utility/ThemeRegistry.php --- b/core/lib/Drupal/Core/Utility/ThemeRegistry.php +++ b/core/lib/Drupal/Core/Utility/ThemeRegistry.php @@ -110,7 +110,7 @@ $this->persist($key); } // RegistryTest::testRaceCondition() ensures that the cache entry is - // written on the initial construction of the theme registry. + // written when the theme registry is actually used. $this->updateCache(); } }