Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8147894 Refresh jlink API
  3. JDK-8161055

Remove plugin ordering by isAfter, isBefore.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b127
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently there are two methods - isAfter, isBefore methods both returning Set<String>. These are used for plugin ordering.

      But, there are problems:

      1) plugins are ordered based on category and then ordered by isAfter/isBefore within the category!

      2) Plugins must know each-other by name to use this isAfter/isBefore method overrides [in addition to being plugins of same category].

      We need some other solution for ordering (if at all!). For now, it is better to remove isAfter/isBefore to avoid API pollution.

      None of the internal plugins use that. There is only a specific test class that uses these to exercise the API!

        Attachments

          Activity

            People

            Assignee:
            sundar Sundararajan Athijegannathan
            Reporter:
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: