[
https://issues.apache.org/jira/browse/LUCENE-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man reopened LUCENE-7933:
------------------------------
Assignee: Michael McCandless
this new test is failing on windows jenkins builds ... looks like probably just
a naive test assumption about some constant that varies based on platform?
{noformat}
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Windows/154/
Java: 64bit/jdk1.8.0_144 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC
7 tests failed.
FAILED: org.apache.lucene.util.TestLongBitSet.testNegativeNumBits
Error Message:
expected:<...ust be 0 .. 13743895[2384]; got: -17> but was:<...ust be 0 ..
13743895[1872]; got: -17>
Stack Trace:
org.junit.ComparisonFailure: expected:<...ust be 0 .. 13743895[2384]; got: -17>
but was:<...ust be 0 ..
13743895[1872]; got: -17>
{noformat}
> 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
> Assignee: Michael McCandless
> 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]