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

Annotation processing should free service loader if there are no processors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: