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

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


The following commit(s) were added to refs/heads/master by this push:
     new 31d4bd801f FELIX-6675 : Classcast Exception when getting change count 
service property
31d4bd801f is described below

commit 31d4bd801f03c38e08917d3101adcbbce8435021
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Thu Nov 30 06:54:46 2023 +0100

    FELIX-6675 : Classcast Exception when getting change count service property
---
 .../apache/felix/http/base/internal/service/HttpServiceRuntimeImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 d4625a2601..3ecc70c406 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
@@ -124,7 +124,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;
     }
 

Reply via email to