This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch http-4.x
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/http-4.x by this push:
     new 8cd6008d28 FELIX-6675 : Classcast Exception when getting change count 
service property
8cd6008d28 is described below

commit 8cd6008d2810ca3b39a7f513ceaa9142c30c7dec
Author: Carsten Ziegeler <cziege...@apache.org>
AuthorDate: Thu Nov 30 06:57:22 2023 +0100

    FELIX-6675 : Classcast Exception when getting change count service property
---
 .../apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java | 2 +-
 http/bridge/pom.xml                                                     | 2 +-
 http/jetty/pom.xml                                                      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java
 
b/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java
index 101350ab4a..329b623fe5 100644
--- 
a/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java
+++ 
b/http/base/src/main/java/org/apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java
@@ -144,7 +144,7 @@ public final class HttpServiceRuntimeImpl implements 
HttpServiceRuntime
         {
             replacement.put(key, newAttributes.get(key));
         }
-        replacement.put(PROP_CHANGECOUNT, this.changeCount);
+        replacement.put(PROP_CHANGECOUNT, this.changeCount.get());
         attributes = replacement;
     }
 
diff --git a/http/bridge/pom.xml b/http/bridge/pom.xml
index fdc30e836c..b44b9290f4 100644
--- a/http/bridge/pom.xml
+++ b/http/bridge/pom.xml
@@ -145,7 +145,7 @@
         <dependency>
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.http.base</artifactId>
-            <version>4.2.10</version>
+            <version>4.2.11-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
diff --git a/http/jetty/pom.xml b/http/jetty/pom.xml
index f13a260809..56525a3ea1 100644
--- a/http/jetty/pom.xml
+++ b/http/jetty/pom.xml
@@ -401,7 +401,7 @@
         <dependency>
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.http.base</artifactId>
-            <version>4.2.10</version>
+            <version>4.2.11-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>commons-fileupload</groupId>

Reply via email to