Sling
  1. Sling
  2. SLING-3178

org.apache.sling.jcr.registration embeds ancient JCR-RMI classes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JCR Registration 1.0.0
    • Component/s: JCR
    • Labels:
      None

      Description

      The mentioned component uses JCR-RMI version 2.0.0. This wouldn't be a problem if it only imported the exported API from that version, but it actually embeds parts of the JRC-RMI library, which makes it impossible to upgrade the RMI functionality without also changing this component.

      A better approach would be to use normal imports for the relevant classes/packages.

        Activity

        Hide
        Jukka Zitting added a comment -

        Proposed patch.

        Show
        Jukka Zitting added a comment - Proposed patch.
        Hide
        Carsten Ziegeler added a comment -

        Thanks for your patch, it's applied in rev 1533884

        Show
        Carsten Ziegeler added a comment - Thanks for your patch, it's applied in rev 1533884

          People

          • Assignee:
            Carsten Ziegeler
            Reporter:
            Jukka Zitting
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development