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

Annotation processing should free service loader if there are no processors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:

      Description

      The annotation processing system uses a service loader to look for annotation processors. This can involve holding open jar files, etc. However, if there are no processors actually available (the common case at the moment) the resources associated with the service loader should be able to be freed. The implementation of annotation processing in javac does not currently free the service loader if no processors are found.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                darcy Joe Darcy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: