[
https://issues.apache.org/jira/browse/LANG-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030428#comment-18030428
]
Gary D. Gregory commented on LANG-1787:
---------------------------------------
Hello [~subbu]
Thank you for providing additional information.
Something seems odd in your description: I don't see where you tell your build
and app metadata (a Maven POM, an Ant build, a Gradle forest of files, or
something else) that you are upgrading commons-lang3.
How do you change the Metadata in your app to say use commons-lang3 3.18.0
instead of 3.17.0. How is your app depending on commons-lang3?
Ty!
> 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
> Priority: Major
>
> 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)