You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2010/12/04 10:41:12 UTC

[jira] Commented: (FELIX-2716) [iPOJO] Failure when creating proxies for classes in java.* packages

    [ https://issues.apache.org/jira/browse/FELIX-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966812#action_12966812 ] 

Clement Escoffier commented on FELIX-2716:
------------------------------------------

A recent 'fix' of a JVM bugs as made the defifnition from java.* prohibited. When, iPOJO generates smart proxies it generates a class in the same package as the proxied interface. This is not more possible for interfaces from java.*. 

To turn around this bug, the iPOJO smart proxies package must be changed. If you cannot wait for a new release, just disable the 'proxy' on the dependency (proxy=false), or enable the dynamic proxies (instead of smart proxies).

The fix will arrive soon (really soon :-))

> [iPOJO] Failure when creating proxies for classes in java.* packages
> --------------------------------------------------------------------
>
>                 Key: FELIX-2716
>                 URL: https://issues.apache.org/jira/browse/FELIX-2716
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>            Reporter: Richard S. Hall
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> It appears that iPOJO is no longer able to proxy classes in java.* packages. This used to work, but it seems recent JVM changes no longer allow it. To see an example, refer to the iPOJO example in ch 12 in the OSGi in Action companion code (http://code.google.com/p/osgi-in-action/downloads/list).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.