Skip to content

Current release is compiled for Java 8 but requires Java 9 in bundle manifest #346

Open
@martingd

Description

@martingd

The compiled jars available at

are compiled with class file format for Java 8 but the bundle manifest tells OSGi that Java 9 is required:

% cat META-INF/MANIFEST.MF | grep Require-Capability
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=9))"

The consequence of this is that the jar does not work as a bundle with OSGi running on Java 8.

For comparison, the manifest for scala-parser-combinators says:

% cat META-INF/MANIFEST.MF | grep Require-Capability      
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"

which is what I would expect also in this jar.

If possible I would be happy to assist fixing this issue but I am not sure where the build is configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions