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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2c837dfbb8 build(deps): bump org.apache.felix:org.apache.felix.utils 
from 1.11.8 to 1.11.10 (#2997)
2c837dfbb8 is described below

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

    build(deps): bump org.apache.felix:org.apache.felix.utils from 1.11.8 to 
1.11.10 (#2997)
    
    * build(deps): 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 f9a0f3a525..861bfef14e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -229,7 +229,7 @@
         <felix.http.version>2.0.8</felix.http.version>
         <felix.inventory.version>2.0.0</felix.inventory.version>
         
<felix.maven-bundle-plugin.version>6.0.2</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>5.0.18</felix.webconsole.version>
         <felix.webconsole.api.version>3.4.0</felix.webconsole.api.version>
         
<felix.memoryusage.webconsole.plugin.version>1.1.0</felix.memoryusage.webconsole.plugin.version>

Reply via email to