Repository navigation
Document FilterDef async-supported representation - #1126
Closed
sainadh777 wants to merge 1 commit into
Closed
sainadh777 wants to merge 1 commit into
sainadh777 wants to merge 1 commit into
Conversation
Contributor
Author
|
@rmaucher, could you review the |
Contributor
|
This PR missed the point. There is no good reason to store the string value. The filter code should be aligned with the Servlet. It could be pack-ported but probably won;t be. While it is a (very) internal API that is being changed, it is possible someone is using it. I have a set of changes ready to commit that removes the String value. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FilterDefretains the suppliedasync-supportedstring while exposing a normalized runtime booleanRationale and impact
FilterDefintentionally keeps the original descriptor value for merging and serialization. Runtime code usesgetAsyncSupportedBoolean()instead. Documenting both representations prevents a future cleanup from conflating their roles, and the added assertion covers the annotation-processing path.This is an internal documentation and test-coverage change. It does not alter runtime behavior, so no changelog entry is required.
Validation
All definitive gates ran against commit
748f237c322b0b27a62bef552eda8fee485c9a46as an unprivileged user in a fresheclipse-temurin:21-jdk-jammyLinux overlayfs container with OpenSSL 3.0.2.ant validate— BUILD SUCCESSFULant -Dtest.entry=org.apache.catalina.startup.TestContextConfigAnnotation test— 10 tests, 0 failures, 0 errors, 0 skipped; BUILD SUCCESSFULant clean deploy— BUILD SUCCESSFULant clean test— 42,579 tests across 781 suites, 0 failures, 0 errors, 363 optional/environment skips; BUILD SUCCESSFUL in 25m45sbin/catalina.sh run,curl http://127.0.0.1:8080/, thenbin/catalina.sh stop 10— HTTP 200, foreground child exit 0, no remaining Bootstrap process, port 8080 closed, and post-stop HTTP unavailableDiagnostic note: the first smoke wrapper received HTTP 200 and shut Tomcat down, but its post-check falsely matched the wrapper process itself after
catalina.sh rundid not create the requested PID file. The corrected foreground-child smoke command above passed all shutdown checks.