Lines 484-491
public abstract class Compiler {
Link Here
|
484 |
// Assume we constructed this correctly |
484 |
// Assume we constructed this correctly |
485 |
int entryStart = key.lastIndexOf("!/"); |
485 |
int entryStart = key.lastIndexOf("!/"); |
486 |
String entry = key.substring(entryStart + 2); |
486 |
String entry = key.substring(entryStart + 2); |
487 |
Jar jar = JarFactory.newInstance(new URL(key.substring(4, entryStart))); |
487 |
try (Jar jar = JarFactory.newInstance(new URL(key.substring(4, entryStart)))) { |
488 |
includeLastModified = jar.getLastModified(entry); |
488 |
includeLastModified = jar.getLastModified(entry); |
|
|
489 |
} |
489 |
} else { |
490 |
} else { |
490 |
if (key.startsWith("jar:") || key.startsWith("file:")) { |
491 |
if (key.startsWith("jar:") || key.startsWith("file:")) { |
491 |
includeUrl = new URL(key); |
492 |
includeUrl = new URL(key); |
492 |
- |
|
|