From: Brandon <re...@bu...> - 2010-04-12 15:30:21
|
New submission from Brandon <bp...@gm...>: The DataOutputStream in java cannot write UTF strings that are over 64k. This is an issue when a jar is over 64k because the CachedJarsPackageManager will try to write the whole thing out to the cache which will cause an exception to be thrown and the jar package will not be processed. To fix this the jar file needs to be split up into 64k chunks and each chunk needs to be written to the output stream. I am submitting a patch to fix this issue. I have tested it with a jar file I was using which was causing the issue and it works correctly for me. It also works for jars that are under 64k with no problem. ---------- components: Core files: cached-jar-over64k.patch keywords: patch messages: 5681 nosy: bpedman severity: normal status: open title: [patch] CachedJarsPackageManager cannot write cache for jar over 64k type: behaviour versions: 2.5.1 Added file: http://bugs.jython.org/file783/cached-jar-over64k.patch _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1595> _______________________________________ |