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

LazyInitProxyFactory prevents using package private interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.3.0
    • 6.4.0, 1.5.10
    • wicket-guice
    • None

    Description

      I'm trying to inject a package private interface for my model classes but I keep getting a java.lang.IllegalArgumentException: non-public interfaces from different packages.

      I'm guessing the LazyInitProxyFactory adding IWriteReplace to the proxies is the culprit here, since IWriteReplace is also an package private interface in the org.apache.wicket.proxy package.

      Attachments

        1. guice-proxytest.zip
          12 kB
          Taneli Korri
        2. 0001-fixed-WICKET-4918-by-making-IWriteReplace-public.patch
          1.0 kB
          Stephen Lujan

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            tkorri Taneli Korri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: