Bug 61195 - Backport properties change to ease migration to Tomcat 9
Summary: Backport properties change to ease migration to Tomcat 9
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.5.x-trunk
Hardware: PC Mac OS X 10.1
: P2 enhancement (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2017-06-16 14:09 UTC by Stephane Nicoll
Modified: 2017-06-19 20:27 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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:
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.