-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty 12 temp directory cleanup #9153
Merged
Merged
Conversation
This file contains 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
Contributor
gregw
commented
Jan 11, 2023
- Server now has setter/getter for a temp directory
- Context now has a getter for a temp directory
- Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
- WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
- temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
+ Server now has setter/getter for a temp directory + Context now has a getter for a temp directory + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
+ Server now has setter/getter for a temp directory + Context now has a getter for a temp directory + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
+ Server now has setter/getter for a temp directory + Context now has a getter for a temp directory + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
+ Server now has setter/getter for a temp directory + Context now has a getter for a temp directory + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
+ Server now has setter/getter for a temp directory + Context now has a getter for a temp directory + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
janbartel
requested changes
Jan 16, 2023
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Server.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
Outdated
Show resolved
Hide resolved
...0/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletContextRequest.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
Show resolved
Hide resolved
jetty-ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletHolder.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Server.java
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
Show resolved
Hide resolved
jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
Show resolved
Hide resolved
...-ee10/jetty-ee10-webapp/src/main/java/org/eclipse/jetty/ee10/webapp/WebInfConfiguration.java
Show resolved
Hide resolved
janbartel
approved these changes
Jan 17, 2023
gregpoulos
pushed a commit
to gregpoulos/jetty.project
that referenced
this pull request
Jan 17, 2023
…x-document-modules * upstream/jetty-12.0.x: Documentation: for consistency, convert "JETTY_HOME" attribute to "jetty-home" (jetty#9152) suppress test stacks Jetty 12 temp directory cleanup (jetty#9153) Only use GraalIssue5720PathResourceFactory when truly needed Refactor Graal native-image resource: handling Move GraalVM Native-Image code to NativeImagePathResource/-Factory PathResource: Fix "isAlias" issue with resource: URIs PathResource: Work-around false positive CodeQL warning PathResourceFactory: Ignore certain RuntimeExceptions upon init PathResource: Selectively enable resource: for GraalVM Native Image URIUtil: Removed unused code URIUtil: Suppress CodeQL false positive error about path injection util: Add support for GraalVM Native-Image resource:-URIs and Paths
gregpoulos
pushed a commit
to gregpoulos/jetty.project
that referenced
this pull request
Jan 17, 2023
…oject into jetty-12.0.x-documentation-operations-logging * 'jetty-12.0.x' of https://github.com/gregpoulos/jetty.project: Documentation: for consistency, convert "JETTY_HOME" attribute to "jetty-home" (jetty#9152) suppress test stacks Jetty 12 temp directory cleanup (jetty#9153) Only use GraalIssue5720PathResourceFactory when truly needed Refactor Graal native-image resource: handling Move GraalVM Native-Image code to NativeImagePathResource/-Factory PathResource: Fix "isAlias" issue with resource: URIs PathResource: Work-around false positive CodeQL warning PathResourceFactory: Ignore certain RuntimeExceptions upon init PathResource: Selectively enable resource: for GraalVM Native Image URIUtil: Removed unused code URIUtil: Suppress CodeQL false positive error about path injection util: Add support for GraalVM Native-Image resource:-URIs and Paths
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.