Skip to content

Ghidra is a software reverse engineering (SRE) framework

remove org.apache.felix.main dependency

Jason P. Leasure8fc9240edad8
diff --git a/Ghidra/Features/Base/Module.manifest b/Ghidra/Features/Base/Module.manifest
index 93ef45e398..040b900a45 100644
--- a/Ghidra/Features/Base/Module.manifest
+++ b/Ghidra/Features/Base/Module.manifest
@@ -1,6 +1,5 @@
MODULE FILE LICENSE: lib/biz.aQute.bndlib-5.0.0.jar Apache License 2.0
MODULE FILE LICENSE: lib/slf4j-api-1.7.25.jar MIT
-MODULE FILE LICENSE: lib/org.apache.felix.main-6.0.3.jar Apache License 2.0
MODULE FILE LICENSE: lib/org.apache.felix.framework-6.0.3.jar Apache License 2.0
MODULE FILE LICENSE: lib/animal-sniffer-annotations-1.9.jar MIT
MODULE FILE LICENSE: lib/org.osgi.core-5.0.0.jar Apache License 2.0
diff --git a/Ghidra/Features/Base/build.gradle b/Ghidra/Features/Base/build.gradle
index 9c290444d9..135497237d 100644
--- a/Ghidra/Features/Base/build.gradle
+++ b/Ghidra/Features/Base/build.gradle
@@ -27,7 +27,6 @@ dependencies {
compile project(':Help')
compile 'org.apache.felix:org.apache.felix.framework:6.0.3'
- compile 'org.apache.felix:org.apache.felix.main:6.0.3'
compile 'com.github.rotty3000:phidias:0.3.7'
compile 'biz.aQute.bnd:biz.aQute.bndlib:5.0.0'
compile 'org.slf4j:slf4j-api:1.7.25'
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java
index 458bd9b5ea..4926ae3aa0 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java
@@ -29,7 +29,6 @@ import java.util.stream.*;
import org.apache.felix.framework.FrameworkFactory;
import org.apache.felix.framework.util.FelixConstants;
import org.apache.felix.framework.util.manifestparser.ManifestParser;
-import org.apache.felix.main.AutoProcessor;
import org.osgi.framework.*;
import org.osgi.framework.launch.Framework;
import org.osgi.framework.wiring.*;
@@ -334,7 +333,6 @@ public class BundleHost {
throw new OSGiException("initializing felix OSGi framework", e);
}
bc = felix.getBundleContext();
- AutoProcessor.process(config, bc);
ServiceReference<LogReaderService> ref = bc.getServiceReference(LogReaderService.class);
if (ref != null) {