A check is added to JCacheStorage::getInstance() to ensure the cache store that is about to be instantiated is supported on the platform and will throw a RuntimeException if not. This should help prevent trying to use a storage class that isn't compatible with the platform and instead of possibly hitting PHP Fatal errors the app will more gracefully die with the Exception being thrown.
Testing Instructions
Set your configuration's cache_handler value to use a cache store that isn't supported on your platform. Pre-patch it will most likely lead to a fatal error or some other kind of Exception/Throwable depending on your setup; post-patch you should get an error page telling you the cache store isn't supported.
I have tested this item successfully on b9ab3ba
Changed to "memcache" in configuration.php file (which i don't have).
Also tried a different one "cachey" that doesn't exist
After patch got this errors
An error has occurred.
0 The memcache Cache Storage is not supported on this platform.
An error has occurred.
0 Unable to load Cache Storage: cachey
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10339.