Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272743

Plugin::transform should not be needed in a post-processing plugin

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      For a post-processing plugin, the transform should not be needed.
      If it is not implemented in a post-processing plugin, the plugin would fail during compilation with error as follows:

      error: CDSPlugin is not abstract and does not override abstract method transform(ResourcePool,ResourcePoolBuilder) in Plugin

      A workaround for now is to have a minimal implementation in the plugin such as the following:
          @Override
          public ResourcePool transform(ResourcePool in, ResourcePoolBuilder out) {
              return in;
          }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: