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

jbonofre pushed a commit to branch karaf-4.4.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.4.x by this push:
     new 2307447c32 [4.4.x] bump org.apache.felix:org.apache.felix.utils from 
1.11.8 to 1.11.10 (#2998)
2307447c32 is described below

commit 2307447c329a4bf60b795a476d400576de9c17c4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 19 13:08:44 2026 +0200

    [4.4.x] bump org.apache.felix:org.apache.felix.utils from 1.11.8 to 1.11.10 
(#2998)
    
    * [4.4.x] bump org.apache.felix:org.apache.felix.utils
    
    Bumps org.apache.felix:org.apache.felix.utils from 1.11.8 to 1.11.10.
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.felix:org.apache.felix.utils
      dependency-version: 1.11.10
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Fix TestBundle for felix-utils 1.11.10 private ResourceImpl fields
    
    ResourceImpl caps and reqs fields are now private, so clear the lists
    through getCapabilities(null) and getRequirements(null) instead.
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: JB Onofré <[email protected]>
---
 .../java/org/apache/karaf/features/internal/support/TestBundle.java   | 4 ++--
 pom.xml                                                               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/features/core/src/test/java/org/apache/karaf/features/internal/support/TestBundle.java
 
b/features/core/src/test/java/org/apache/karaf/features/internal/support/TestBundle.java
index 60afe2efc0..4858ce9ae0 100644
--- 
a/features/core/src/test/java/org/apache/karaf/features/internal/support/TestBundle.java
+++ 
b/features/core/src/test/java/org/apache/karaf/features/internal/support/TestBundle.java
@@ -56,8 +56,8 @@ public class TestBundle extends ResourceImpl implements 
BundleRevision, Bundle,
     public void update(Hashtable<String, String> headers) throws 
BundleException {
         this.headers.clear();
         this.headers.putAll(headers);
-        this.caps.clear();
-        this.reqs.clear();
+        getCapabilities(null).clear();
+        getRequirements(null).clear();
         ResourceBuilder.build(this, location, headers);
     }
 
diff --git a/pom.xml b/pom.xml
index 676ed2786d..514b69c178 100644
--- a/pom.xml
+++ b/pom.xml
@@ -223,7 +223,7 @@
         <felix.http.version>4.2.2</felix.http.version>
         <felix.inventory.version>1.1.0</felix.inventory.version>
         
<felix.maven-bundle-plugin.version>5.1.9</felix.maven-bundle-plugin.version>
-        <felix.utils.version>1.11.8</felix.utils.version>
+        <felix.utils.version>1.11.10</felix.utils.version>
         <felix.webconsole.version>4.8.12</felix.webconsole.version>
         <felix.webconsole.api.version>3.4.0</felix.webconsole.api.version>
         
<felix.memoryusage.webconsole.plugin.version>1.0.10</felix.memoryusage.webconsole.plugin.version>

Reply via email to