Bug 61195

Summary: Backport properties change to ease migration to Tomcat 9
Product: Tomcat 8 Reporter: Stephane Nicoll <stephane.nicoll>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 8.5.x-trunk   
Target Milestone: ----   
Hardware: PC   
OS: Mac OS X 10.1   

Description Stephane Nicoll 2017-06-16 14:09:42 UTC
Could you please consider backporting the properties change that were introduced in Tomcat 9? 

My immediate need is setAcceptCount on AbstractProtocol that is called setBacklog in the tomcat 8.5 API. Having two different method signature requires me to use reflection in order to support Tomcat 8.5 and Tomcat 9 at the same time in Spring Boot. As we want to support Java 9 as well in that release, using Tomcat 9 is required but we'd like to compile the code against the 8.5 API.

There are other candidates here:
https://svn.apache.org/viewvc?view=revision&amp;revision=1767250
Comment 1 Mark Thomas 2017-06-19 20:27:00 UTC
Fixed in:
- 8.5.x for 8.5.16 onwards

There should be a snapshot (i.e. not an official release) with the fix for you to test against available from the ASF snapshot repo in a few minutes.