lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5996) Add Collections.shuffle(List) to the forbidden APIs
Date Tue, 07 Oct 2014 08:45:34 GMT
Adrien Grand created LUCENE-5996:
------------------------------------

             Summary: Add Collections.shuffle(List) to the forbidden APIs
                 Key: LUCENE-5996
                 URL: https://issues.apache.org/jira/browse/LUCENE-5996
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Adrien Grand
            Assignee: Adrien Grand
             Fix For: 5.0


I hit a non-reproducible failure that was due to the use of Collections.shuffle(List). I think
we should forbid it and advise to use Collections.shuffle(List, Random) instead to make test
failures reproducible?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message