Message5681

Author bpedman
Recipients bpedman
Date 2010-04-12.15:30:10
SpamBayes Score 2.2279899e-06
Marked as misclassified No
Message-id <1271086213.56.0.761478000554.issue1595@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-12 15:30:13bpedmansetrecipients: + bpedman
2010-04-12 15:30:13bpedmansetmessageid: <1271086213.56.0.761478000554.issue1595@psf.upfronthosting.co.za>
2010-04-12 15:30:13bpedmanlinkissue1595 messages
2010-04-12 15:30:12bpedmancreate