Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8738

Trigger an error during build if an API uses a private reference in its public methods' signatures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Bundle Parent 43
    • General
    • None

    Description

      Following the discussion from https://github.com/bndtools/bnd/issues/3444, we should add the provided -fixupmessages instruction to our bundle parent pom, in order to make sure that APIs that we export cannot reference private references in their public method signatures.

      This is more of a precaution, rather than a fix for a Sling issue.

      Projects using the bundle parent pom can override the bnd instruction locally, if needed.

      Attachments

        Activity

          People

            kwin Konrad Windszus
            radu Radu Cotescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m