This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch 5.9.x-javax
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/5.9.x-javax by this push:
new 49f503a61 Fixing another compilation error
49f503a61 is described below
commit 49f503a61e9762833b56bbe0e5648ac70d6571f6
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Sat Oct 17 15:00:47 2026 -0300
Fixing another compilation error
---
.../src/main/java/org/apache/tapestry5/modules/AssetsModule.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/tapestry-core/src/main/java/org/apache/tapestry5/modules/AssetsModule.java
b/tapestry-core/src/main/java/org/apache/tapestry5/modules/AssetsModule.java
index 264c96558..1b11203fe 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/modules/AssetsModule.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/modules/AssetsModule.java
@@ -334,7 +334,8 @@ public class AssetsModule
ClasspathAssetAliasManager classpathAssetAliasManager,
ResourceStreamer
streamer,
AssetSource assetSource,
-
ClasspathAssetProtectionRule classpathAssetProtectionRule)
+
ClasspathAssetProtectionRule classpathAssetProtectionRule,
+
ContextAssetProtectionRule contextAssetProtectionRule)
{
Map<String, String> mappings =
classpathAssetAliasManager.getMappings();
@@ -346,7 +347,7 @@ public class AssetsModule
}
configuration.add(RequestConstants.CONTEXT_FOLDER,
- new ContextAssetRequestHandler(streamer,
contextAssetFactory.getRootResource()));
+ new ContextAssetRequestHandler(streamer,
contextAssetFactory.getRootResource(), contextAssetProtectionRule));
configuration.add(RequestConstants.STACK_FOLDER,
stackAssetRequestHandler);