Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-668

Proxy or weaving code should not mark added synthetic methods final

    XMLWordPrintableJSON

Details

    Description

      OpenWebBeans checks classes for proxyiability by among other things checking for final methods. The java.lang.reflect.Modifier class does not expose anything about synthetic methods and reports synthetic final methods as final. Although it's possible to get owb to work by modifying the check to exclude synthetic methods, this puts the responsibility in a peculiar place. The OWB folks also claim that since java 5 marking methods final has no effect on the ability of the jit to optimize method calls so there isn't really any reason to mark these final.

      Attachments

        Activity

          People

            timothyjward Timothy James Ward
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: