[ https://issues.apache.org/jira/browse/HTTPCLIENT-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340519#comment-14340519 ]
Sebb commented on HTTPCLIENT-1621: ---------------------------------- Autoboxing applies at compilation time, so it should be source compatible. I don't believe it will be binary compatible because the parameter types are part of the method signature. Code compiled against the Long API won't be able to find the long version. > Possible NPE/incorrect type in HttpClientBuilder#evictIdleConnections > --------------------------------------------------------------------- > > Key: HTTPCLIENT-1621 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1621 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.4 Final > Reporter: Michael Osipov > Assignee: Michael Osipov > Fix For: 4.4.1, 4.5 Alpha1 > > > The method accepts a {{Long}} as first arg and not {{long}} (simple type). > This might lead to an NPE. > I think this is also safe to fix for 4.4.x because due to autoboxing this > would be transparent. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org