Message5729

Author pjenvey
Recipients bpedman, pjenvey
Date 2010-04-17.17:56:17
SpamBayes Score 3.9705643e-07
Marked as misclassified No
Message-id <1271526981.35.0.853676275104.issue1595@psf.upfronthosting.co.za>
In-reply-to
Content
This change writes potentially multiple strings out for the listing of classes, but there's no change to read more than one string in from the cache file

So with this change and the vim25.jar cached what happens is only its first chunk of classes is read, then the second chunk is only read when trying to read the next package name. In this jar's case the next read is EOF so the bad package name is discarded

What needs to happen is the on disk format should basically be package name followed by the number of classes chunks for the package, then the chunks themselves

With this change we'd also need to either handle the old format of the packagecache, or somehow migrate users over to the new version. I don't know enough about the packagecache code yet to know the best way to gracefully deal with a change of the on disk format
History
Date User Action Args
2010-04-17 17:56:21pjenveysetmessageid: <1271526981.35.0.853676275104.issue1595@psf.upfronthosting.co.za>
2010-04-17 17:56:21pjenveysetrecipients: + pjenvey, bpedman
2010-04-17 17:56:20pjenveylinkissue1595 messages
2010-04-17 17:56:20pjenveycreate