lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3590) minimize bytesref to be a ref to a byte[]
Date Tue, 29 May 2012 15:12:23 GMT


Robert Muir updated LUCENE-3590:

    Attachment: LUCENE-3590.patch

Here's a patch with tests to improve most of the remaining issues:
* bugs in copy/append when offset !=0 (AIOOBE)
* off-by-one in charsequence.subsequence, this just happened to be previously untested.
* obey charsequence api completely (including exceptions stated in the spec)
* assert offset == 0 in grow(), as it doesnt make sense otherwise.

I'd like to backport these bugfixes to 3.6.1 as well.
> minimize bytesref to be a ref to a byte[]
> -----------------------------------------
>                 Key: LUCENE-3590
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Priority: Blocker
>         Attachments: LUCENE-3590.patch, LUCENE-3590_copyCtor.patch, LUCENE-3590_deprecate_comparators.patch,
LUCENE-3590_equals_init.patch, LUCENE-3590_equals_init.patch, LUCENE-3590_offsets.patch, LUCENE-3590_with_clone.patch
> Setting this as blocker for 4.0, as this class is used in every API there.
> Currently this API is a little of a everything, sometimes its like a stringbuffer, it
> does numeric conversions, all kinds of stuff.
> We need this to be a ref to a byte[], nothing else. This other stuff can go somewhere

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message