This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch karaf-4.3.x
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/karaf-4.3.x by this push:
new e82533a10f [KARAF-7677] Improve failure report of karaf assembly
e82533a10f is described below
commit e82533a10ff54ccc41973bb961a422fb4237cae1
Author: Ciprian Ciubotariu <[email protected]>
AuthorDate: Tue Feb 28 01:45:19 2023 +0200
[KARAF-7677] Improve failure report of karaf assembly
Log the offending bundle if a bundle refresh occurs during assembly
(cherry picked from commit cc437bfc5365e158f2714a7cf80fb368d0cfc508)
---
.../apache/karaf/features/internal/service/StaticInstallSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
index 54607d26bc..032d791f79 100644
---
a/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
+++
b/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
@@ -45,7 +45,7 @@ public abstract class StaticInstallSupport implements
BundleInstallSupport {
@Override
public void updateBundle(Bundle bundle, String uri, InputStream is) throws
BundleException {
- System.err.println("Update bundle is not supported in the static
installer");
+ System.err.printf("Update bundle is not supported in the static
installer: bundle %s, uri %s%n", bundle == null ? "null" :
bundle.getSymbolicName(), uri);
if (failOnUpdate) {
throw new UnsupportedOperationException();
}