#fixed code
                             public long getLastModified() {
		try {
			JarFile jarFile = new JarFile(file);
			return jarFile.getEntry(getName()).getTime();
		} catch (Throwable e) {
			return super.getLastModified();
		}
	}
#vulnerable code 
                             public long getLastModified() {
		try {
			JarFile zipFile = new JarFile(file);
			return zipFile.getEntry(getName()).getTime();
		} catch (Throwable e) {
			return super.getLastModified();
		}
	} 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK