You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tharindu Dharmarathna (Jira)" <ji...@apache.org> on 2025/10/03 13:07:00 UTC

[jira] [Created] (LANG-1787) Cannot run Lang3 3.18.0 + in osgi environment

Tharindu Dharmarathna created LANG-1787:
-------------------------------------------

             Summary: Cannot run Lang3 3.18.0 + in osgi environment
                 Key: LANG-1787
                 URL: https://issues.apache.org/jira/browse/LANG-1787
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
    Affects Versions: 3.18.0
            Reporter: Tharindu Dharmarathna


lang3 manifest contains java related import packages.

Due to that equinox related osgi environment not able to use this jar directly as bundle.

Import-Package: java.beans,java.io,java.lang,java.lang.annotation,java.l
 ang.invoke,java.lang.reflect,java.math,java.net,java.nio,java.nio.chars
 et,java.nio.file,java.security,java.text,java.time,java.time.temporal,j
 ava.util,java.util.concurrent,java.util.concurrent.atomic,java.util.con
 current.locks,java.util.function,java.util.regex,java.util.stream
Include-Resource: META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=N
 OTICE.txt
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Tool: Bnd-7.1.0.202411251545
Multi-Release: true



--
This message was sent by Atlassian Jira
(v8.20.10#820010)