Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1705

GuiceComponentInjector mishandles static fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.3
    • 1.3.4, 1.4-M3
    • wicket-guice
    • None

    Description

      GuiceComponentInjector mistakenly wraps static fields with serializable proxies. These CGLIB proxies impose limitations (must have default constructor, may not have final methods, etc) on fields which are not strictly necessary. The new implementation allows the use of Binder.requestStaticInjection() which is more flexible.

      Attachments

        1. guice2.patch
          3 kB
          Gili

        Activity

          People

            ivaynberg Igor Vaynberg
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: