Bug 61195 - Backport properties change to ease migration to Tomcat 9
Summary: Backport properties change to ease migration to Tomcat 9
Status: RESOLVED FIXED
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-16 14:09 UTC by Stephane Nicoll
Modified: 2017-06-19 20:27 UTC (History)
0 users



Attachments

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:
https://svn.apache.org/viewvc?view=revision&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.