[RFC] Fix IndexOutOfBoundException because of corrupted entry in recently_used file
Thomas Meyer
thomas at m3y3r.de
Wed Apr 4 07:57:40 PDT 2012
Am Dienstag, den 03.04.2012, 16:50 +0200 schrieb Jiri Vanek:
> Thanx for test! Logic itself is good, but there are two mistakes which causes the test to be not-working.
> See notes inline for them.
Hi,
I hacked a bit on this today. please have a look at the attached patch.
I moved all the format checks in the CacheLRUWrapper.load() method. that
is the place were I think they actually belong.
I guess these changes will break the CacheReproducerTest as no more
LRUExceptions are thrown.
what do you think about this approach? does this make sense for you?
with kind regards
thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-cache-data.patch
Type: text/x-patch
Size: 12639 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120404/bc10af29/check-cache-data.patch
More information about the distro-pkg-dev
mailing list