-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2_08, 5.0u2, 5.0u3
-
b06
-
generic, x86
-
generic, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2123953 | 1.4.2_08 | Nishant Patel | P2 | Resolved | Fixed | b03 |
The fix to: 6194024: Java Webstart incremental update fails with java.util.ZipException
put causes an exception in DiskCache.getTempCacheFile() in rare instances.
using the real filename of the resource in the cache, getTempCacheFile now calls
File.createTempFile((new File(filename)).getName(), "tmp", dir);
In the case of a resource who's url is a directory, the filename in the cache will only be 2 characters, and File.createTempFile requires that the first arg (prefix) be a String of at least three characters.
If the url is of a file (not a directory) there is no problem.
###@###.### 2005-2-27 20:31:00 GMT
put causes an exception in DiskCache.getTempCacheFile() in rare instances.
using the real filename of the resource in the cache, getTempCacheFile now calls
File.createTempFile((new File(filename)).getName(), "tmp", dir);
In the case of a resource who's url is a directory, the filename in the cache will only be 2 characters, and File.createTempFile requires that the first arg (prefix) be a String of at least three characters.
If the url is of a file (not a directory) there is no problem.
###@###.### 2005-2-27 20:31:00 GMT
- backported by
-
JDK-2123953 Regression in DiskCache.getTempCacheFile() causes IllegalArgumentException.
- Resolved
- duplicates
-
JDK-6242867 REGRESSION:Webstart unable to create muffins
- Closed