| Summary: | Do not install or resolve non-OSGi JARs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Harald Wellmann <hwellmann.de> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tjwatson |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Harald Wellmann
(In reply to comment #0) > Equinox does not complain when you install a plain old JAR lacking the required > OSGi manifest headers. Bundle-SymbolicName is mandatory according to the OSGi > 4.2 Core Spec. > BSN is only required for Bundle-ManifestVersion: 2. So a plain old jar is a valid bundle in the R3 sense. Perhaps not very useful, but another bundle could load classes and resources from it via the Bundle methods. I suppose it would be useful for some warning if a jar is installed that contains no OSGi manifest headers. But, while unusual, it certainly is not an error. As BJ points out, this is the spec'ed behavior of the OSGi framework. |