Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1379

Remove java.beans dependency in AbstractCurcuitBreaker to allow use of compact1 JRE profile

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.7
    • Fix Version/s: None
    • Component/s: lang.concurrent.*
    • Labels:
      None

      Description

      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.

      # 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 
      [...]

      For further information see: Compact profiles.

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

        Attachments

        1. jdeps.log
          290 kB
          Steffen Conrad

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sconrad Steffen Conrad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: