Skip to content

Packages aren't being exported #26

Closed

Description

@aptmac

Hi! Thanks for taking over the maintenance of the project.

I've tried using the latest version in my project, but started running into issues where the lz4 java classes couldn't be found.

I opened up the jar manifest and it reads:

Manifest-Version: 1.0
Automatic-Module-Name: org.lz4.java
Build-Jdk-Spec: 21
Bundle-ManifestVersion: 2
Bundle-Name: lz4-java
Bundle-SymbolicName: lz4-java
Bundle-Version: 0
Import-Package: java.io,java.lang,java.lang.reflect,java.nio,java.util
 ,java.util.zip,sun.misc
Originally-Created-By: Maven JAR Plugin 3.4.1
Private-Package: net.jpountz.lz4,net.jpountz.util,net.jpountz.util.dar
 win.aarch64,net.jpountz.util.darwin.x86_64,net.jpountz.util.linux.aar
 ch64,net.jpountz.util.linux.amd64,net.jpountz.util.linux.i386,net.jpo
 untz.util.linux.ppc64le,net.jpountz.util.linux.s390x,net.jpountz.util
 .win32.amd64,net.jpountz.xxhash
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"

which has the lz4 java packages not exported, and under a private-package. The require capability also looks suspicious, but outside of the scope of this issue.

Activity

  1. yawkat commented on Dec 15, 2025

    @yawkat
    Owner

    Sorry, I have no idea how osgi works… contributions welcome

  2. changed the title [-]Packages aren't being exported?[/-] [+]Packages aren't being exported[/+] on Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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