Jesse Glick commented on Bug JENKINS-26690

SortedMap.headMap is documented to allow the implementation to throw IllegalArgumentException

if this map itself has a restricted range, and toKey lies outside the bounds of the range

and passing a negative argument is clearly “outside the bounds of the range” when the range is Jenkins build numbers, whether or not earlier versions of Jenkins happened to enforce that.

However it looks like I wrote this call to headMap so I am on the hook to fix either the caller or the implementor.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to