Github user isapir commented on the issue: https://github.com/apache/tomcat/pull/56 @ChristopherSchultz I updated the patch according to your feedback: https://github.com/apache/tomcat/pull/56/commits/f0c3968570f70823d30cf18144e82591a7ee0cee I was actually trying at first to get it to work with a bit shift but when it didn't work I resorted to `Math.pow(2, bit)` -- bit shift is definitely better, though it's possible that `Math.pow(2, x)` utilizes shift in the JRE anyway. In any event, great feedback, thanks!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org