[
https://issues.apache.org/jira/browse/LANG-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Herbert resolved LANG-1592.
--------------------------------
Fix Version/s: 3.12
Resolution: Fixed
In git master
> The random number generated by RandomUtils exceeds the exclusive parameter
> --------------------------------------------------------------------------
>
> Key: LANG-1592
> URL: https://issues.apache.org/jira/browse/LANG-1592
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.11
> Reporter: huang pingcai
> Assignee: Alex Herbert
> Priority: Minor
> Fix For: 3.12
>
> Attachments: image-2020-07-21-14-35-27-870.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {code:java}
> @Test
> public void test() {
> while (RandomUtils.nextLong(12900000000001L, 12900000000016L) !=
> 12900000000016L) {
> }
> System.out.println("should not be invoked");
> }
> {code}
> !image-2020-07-21-14-35-27-870.png|width=315,height=182!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)