[
https://issues.apache.org/jira/browse/LUCENE-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150492#comment-16150492
]
ASF subversion and git services commented on LUCENE-7933:
---------------------------------------------------------
Commit e1542a2180386d95b69239a068612337071bee56 in lucene-solr's branch
refs/heads/branch_7x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e1542a2 ]
LUCENE-7933: validate numBits parameter to LongBitSet ctor
> LongBistSet can't have Long size
> --------------------------------
>
> Key: LUCENE-7933
> URL: https://issues.apache.org/jira/browse/LUCENE-7933
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 6.6
> Reporter: Won Jonghoon
> Priority: Trivial
> Fix For: master (8.0), 7.1
>
> Attachments: LUCENE-7933.patch
>
>
> private final long[] bits; // Array of longs holding the bits
> ===> bits.length is small for bit number having Long.MAX
> so you can not call "LongBitSet.set(Long.MAX-1)"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]