[ 
https://issues.apache.org/jira/browse/LANG-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030482#comment-18030482
 ] 

Gary D. Gregory commented on LANG-1787:
---------------------------------------

Hello [~subbu],

Please provide steps to reproduce the error you see, for example:

{noformat}
cd ~/java/felix-framework-7.0.5/bin

java -jar bin/felix.jar

g! install 
/Users/garygregory/.m2/repository/org/apache/commons/commons-lang3/3.19.0/commons-lang3-3.19.0.jar
                                                                                
                                    
Bundle ID: 14

g! install 
/Users/garygregory/.m2/repository/org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar
                                                                                
                                    
Bundle ID: 15

g! lb Lang                                                                      
                                                                                
                                                                                
 17:28:59
START LEVEL 1
   ID|State      |Level|Name
   14|Active     |    1|Apache Commons Lang (3.19.0)|3.19.0
   15|Installed  |    1|Apache Commons Lang (3.18.0)|3.18.0

g! start 15                                                                     
                                                                                
                                                                                
 17:29:05

g! lb Lang                                                                      
                                                                                
                                                                                
 17:31:46
START LEVEL 1
   ID|State      |Level|Name
   14|Active     |    1|Apache Commons Lang (3.19.0)|3.19.0
   15|Active     |    1|Apache Commons Lang (3.18.0)|3.18.0
{noformat}

The above reports no error.


> 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)

Reply via email to