This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 6d988de59c Undo temporary change
6d988de59c is described below
commit 6d988de59c2ad2a564209d4ba590dce81a69cd24
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Nov 4 14:16:59 2024 +0000
Undo temporary change
---
java/org/apache/catalina/WebResource.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/java/org/apache/catalina/WebResource.java
b/java/org/apache/catalina/WebResource.java
index 9b73613540..d71af62f26 100644
--- a/java/org/apache/catalina/WebResource.java
+++ b/java/org/apache/catalina/WebResource.java
@@ -146,10 +146,9 @@ public interface WebResource {
* @return the code base for this resource that will be used when looking
up the assigned permissions for the code
* base in the security policy file when running under a
security manager.
*/
- URL getCodeBase();
- //default URL getCodeBase() {
- // return null;
- //}
+ default URL getCodeBase() {
+ return null;
+ }
/**
* @return a reference to the WebResourceRoot of which this WebResource is
a part.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]