@SuppressWarnings("unchecked")
	public void loadCache() {
		if (!this.cacheEnabled)
			return;

		final String cacheFile = (this.cachePath == null) ? DEFAULT_CACHE_FILE : this.cachePath;

		try {
			// lock the lockfile
			final FileInputStream fis = new FileInputStream(cacheFile);
			final ObjectInputStream ois = new ObjectInputStream(fis);
			final Object rval = ois.readObject(); // Loading caches can take
												  // very long
			                                      // (>250ms) for many entries

			ois.close();

			if (rval != null) {
				this.cacheMap = (Map<String, JARInformation>) rval;
			}
		} catch (EOFException e) {
			//
		} catch (final FileNotFoundException e) {
			// If file was not found, no problem ...
			// e.printStackTrace();
		} catch (final IOException e) {
			e.printStackTrace();
		} catch (final ClassNotFoundException e) {
			this.logger
			        .warning("Your JSPF cache is outdated, please delete it. It will be regenerated with the next run. The next exception reflects this, so don't be afraid.");
			e.printStackTrace();
		}
	}