[ 
https://issues.apache.org/jira/browse/WICKET-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Lujan updated WICKET-4918:
----------------------------------

    Attachment: 0001-fixed-WICKET-4918-by-making-IWriteReplace-public.patch

patch
                
> LazyInitProxyFactory prevents using package private interfaces
> --------------------------------------------------------------
>
>                 Key: WICKET-4918
>                 URL: https://issues.apache.org/jira/browse/WICKET-4918
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-guice
>    Affects Versions: 6.3.0
>            Reporter: Taneli Korri
>         Attachments: 
> 0001-fixed-WICKET-4918-by-making-IWriteReplace-public.patch, 
> guice-proxytest.zip
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to