Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5687

PDFBox 3.0 OSGi bundle requires sun.java2d.cmm.kcms package

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.1 PDFBox, 4.0.0
    • None
    • None

    Description

      We consume PDFBox in the Apache Sling project and recently attempted to upgrade to 3.0.0 . Sling uses OSGi and a new required import appeared in the 3.0.0 bundles: sun.java2d.cmm.kcms . Our PR is at https://github.com/apache/sling-org-apache-sling-starter/pull/212 .

      This prevents us from on applying the update. I looked at the desired usage for kcms and it seems like it is an optional feature.

      I suspect this addition was triggered by a version update of the maven-bundle-plugin, which added support for transforming "Class.forName" calls as OSGi package imports - https://bnd.bndtools.org/instructions/noclassforname.html .

      I would suggest that this import is removed by disabling the specified bnd instruction.

      Attachments

        Issue Links

        Activity

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

          People

            lehmi Andreas Lehmkühler
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment