diff --git a/tycho-extras/tycho-document-bundle-plugin/src/main/java/org/eclipse/tycho/extras/docbundle/runner/ConvertSchemaToHtmlRunner.java b/tycho-extras/tycho-document-bundle-plugin/src/main/java/org/eclipse/tycho/extras/docbundle/runner/ConvertSchemaToHtmlRunner.java index f4d058d69d..bb94a85fc9 100644 --- a/tycho-extras/tycho-document-bundle-plugin/src/main/java/org/eclipse/tycho/extras/docbundle/runner/ConvertSchemaToHtmlRunner.java +++ b/tycho-extras/tycho-document-bundle-plugin/src/main/java/org/eclipse/tycho/extras/docbundle/runner/ConvertSchemaToHtmlRunner.java @@ -25,6 +25,7 @@ import java.io.Serializable; import java.net.URL; import java.nio.charset.StandardCharsets; +import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; @@ -50,7 +51,6 @@ import org.eclipse.pde.internal.core.schema.Schema; import org.eclipse.pde.internal.core.schema.SchemaDescriptor; import org.eclipse.pde.internal.core.schema.SchemaProvider; -import org.eclipse.pde.internal.core.util.HeaderMap; import org.osgi.framework.Constants; /** @@ -164,7 +164,7 @@ private String getPluginID(File manifest) { if (OSGiFile.exists()) { try (FileInputStream manifestStream = new FileInputStream(OSGiFile)) { - Map headers = ManifestElement.parseBundleManifest(manifestStream, new HeaderMap<>()); + Map headers = ManifestElement.parseBundleManifest(manifestStream, new HashMap<>()); String value = headers.get(Constants.BUNDLE_SYMBOLICNAME); if (value == null) { return null;