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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.7
    • None
    • lang.concurrent.*
    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment