Steffen Conrad created LANG-1379:
------------------------------------

             Summary: Remove java.beans dependency in AbstractCurcuitBreaker to 
allow use of compact1 JRE profile
                 Key: LANG-1379
                 URL: https://issues.apache.org/jira/browse/LANG-1379
             Project: Commons Lang
          Issue Type: Wish
          Components: lang.concurrent.*
    Affects Versions: 3.7
            Reporter: Steffen Conrad
         Attachments: jdeps.log

The current org.apache.commons.commons-lang3 Maven artifact (Version 3.7) 
contains a single class that builds a dependency on the java.beans package. 
This prohibits use of commons-lang3 with compact JRE profiles, which is 
especially interesting in embedded and/or resource constrained environments.
{noformat}
# jdeps -P -v commons-lang3-3.7.jar
[...]
org.apache.commons.lang3.concurrent.AbstractCircuitBreaker -> 
java.beans.PropertyChangeListener Full JRE
org.apache.commons.lang3.concurrent.AbstractCircuitBreaker -> 
java.beans.PropertyChangeSupport Full JRE 
[...]{noformat}
For further information see: [Compact 
profiles|https://docs.oracle.com/javase/8/docs/technotes/guides/compactprofiles/compactprofiles.html].

Please consider removing/replacing the dependency on 
java.beans.PropertyChangeListener/java.beans.PropertyChangeSupport to enable 
use of commons-lang3 in JRE compact1 profile environments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to