Wicket
  1. Wicket
  2. WICKET-4918

LazyInitProxyFactory prevents using package private interfaces

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.0
    • Fix Version/s: 6.4.0, 1.5.10
    • Component/s: wicket-guice
    • Labels:
      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.

        Activity

        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.4.0 [ 12323450 ]
        Fix Version/s 1.5.10 [ 12323510 ]
        Resolution Fixed [ 1 ]
        Stephen Lujan made changes -
        Taneli Korri made changes -
        Field Original Value New Value
        Attachment guice-proxytest.zip [ 12560068 ]
        Taneli Korri created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Taneli Korri
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development