https://bz.apache.org/bugzilla/show_bug.cgi?id=60761
Bug ID: 60761 Summary: Unable to re-use/extend NioEndpoint Product: Tomcat 8 Version: 8.5.x-trunk Hardware: All OS: All Status: NEW Severity: enhancement Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: amit.pa...@veritas.com Target Milestone: ---- We plan to extend/re-use the NioEndpoint of Tomcat 8.5.x and override the following methods: 1. Bind 2. Unbind 3. UnlockAccept 4. Acceptor Intend to use most of the NIO code for poller threads and other start stop logic. One issue faced was that “stopLatch” is not accessible outside the NioEndpoint class. This stopLatch is initialized during “bind” and used during “stop”. But since we override bind and don’t have access to “stopLatch”we’re facing issues while using the default NioEndpoint implementation. Could this field protected similar to other fields such as pollerThreadCount, acceptorThreadCount? Reflection seems too hack-ish and we don’t see any issues with making this field protected instead of private. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org