[jira] [Commented] (ARIES-1140) Injected java.lang.reflect.Proxy implements only single interface

2013-12-13 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847362#comment-13847362 ] Richard Ellis commented on ARIES-1140: -- No problem Andrei. I now understand that

[jira] [Commented] (ARIES-1140) Injected java.lang.reflect.Proxy implements only single interface

2013-12-13 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847315#comment-13847315 ] Richard Ellis commented on ARIES-1140: -- There are two different proxies in play

[jira] [Commented] (ARIES-1140) Injected java.lang.reflect.Proxy implements only single interface

2013-12-12 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846504#comment-13846504 ] Richard Ellis commented on ARIES-1140: -- Does the generated inter

[jira] [Commented] (ARIES-868) Subsystem support for woven package dependencies

2012-07-05 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406966#comment-13406966 ] Richard Ellis commented on ARIES-868: - As per the OSGi core spec WeavingHooks add

[jira] [Commented] (ARIES-706) support dynamic configuration of classes that will be ignored by proxy/weaving...

2012-06-21 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398267#comment-13398267 ] Richard Ellis commented on ARIES-706: - The function from ARIES-786 (for sy

Re: Latest JDK and ASM based proxies....

2012-06-21 Thread Richard Ellis
15:47, schrieb Richard Ellis: > I believe that this problem is limited to the subclass proxy and not the > newer improved WeavingHook based proxy. So for cases where people want to > use both a very recent JVM and a class that does not have an accessible > zero-arg constructor there is the

Re: Latest JDK and ASM based proxies....

2012-06-15 Thread Richard Ellis
I believe that this problem is limited to the subclass proxy and not the newer improved WeavingHook based proxy. So for cases where people want to use both a very recent JVM and a class that does not have an accessible zero-arg constructor there is the option to move up to use proxy 0.4 and an

RE: Customising the behaviour of the weaving proxy implementation

2012-02-06 Thread Richard Ellis
I also like the sound of this change it would be a nice customization to have. Rich From: Timothy Ward To: Date: 06/02/2012 17:26 Subject:RE: Customising the behaviour of the weaving proxy implementation Sent by: Hi, I like the principle behind this change, and

Re: Proxy weaving

2011-11-18 Thread Richard Ellis
Hi Guillaume, There are 3 kinds of proxy support currently available in the proxy bundle. They are used in this order, falling back to the next level if the conditions are not met: 1. Weaving proxy (if OSGi level is 4.3 i.e. WeavingHooks are supported and ASM is available) - can proxy just abou

[jira] [Updated] (ARIES-775) ClassCircularityError while weaving a class

2011-11-04 Thread Richard Ellis (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-775: Attachment: Aries-775-Test.txt Aries-775.txt Patch to get the super constructors

[jira] [Commented] (ARIES-775) ClassCircularityError while weaving a class

2011-11-04 Thread Richard Ellis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144221#comment-13144221 ] Richard Ellis commented on ARIES-775: - This appears to be a problem where a c

[jira] [Updated] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

2011-10-28 Thread Richard Ellis (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-770: Attachment: Aries-770-patch.txt Patch to append using an LDAP syntax OR group instead of

[jira] [Created] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

2011-10-28 Thread Richard Ellis (Created) (JIRA)
Issue Type: Bug Components: Application Affects Versions: 0.3 Reporter: Richard Ellis The CompositeServiceFilter-Import header represents an OSGi service filter and therefore needs to use LDAP syntax. The code in the BundleFrameworkConfigurationFactoryImpl loops through

[jira] [Updated] (ARIES-769) ClassCastException during JNDI lookup from WAB inside EBA

2011-10-27 Thread Richard Ellis (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-769: Attachment: Aries-769-patch.txt Patch that checks the equality of the BundleContext class of the

[jira] [Created] (ARIES-769) ClassCastException during JNDI lookup from WAB inside EBA

2011-10-27 Thread Richard Ellis (Created) (JIRA)
: JNDI Affects Versions: 0.3 Reporter: Richard Ellis I was trying to perform a JNDI lookup from a WAB inside an EBA and I hit this problem. java.lang.ClassCastException: org.eclipse.osgi.internal.serviceregistry.ServiceReferenceImpl incompatible with

[jira] [Updated] (ARIES-762) Bundle framework manager bean should be lazy

2011-10-20 Thread Richard Ellis (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-762: Attachment: Aries-762-patch.txt Trivial patch to add activation="lazy" to the bundle

[jira] [Created] (ARIES-762) Bundle framework manager bean should be lazy

2011-10-20 Thread Richard Ellis (Created) (JIRA)
Versions: 0.3, 0.4 Reporter: Richard Ellis The bundle-framework-management.xml does not mark the equinox-bundle-framework-manager lazy, so the shared bundle frameworks are created too early. This intermittently prevents customized services from registering ahead of the aries defaults

[jira] [Updated] (ARIES-760) SharedBundleFrameworkConfiguration overwrites configuration

2011-10-14 Thread Richard Ellis (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-760: Attachment: Aries-760-patch.txt Patch that resolves the issue by only setting the default Import

[jira] [Created] (ARIES-760) SharedBundleFrameworkConfiguration overwrites configuration

2011-10-14 Thread Richard Ellis (Created) (JIRA)
: Application Affects Versions: 0.3, 0.4 Reporter: Richard Ellis It is possible to register a BundleFrameworkConfigurationFactory that will be used by the SharedBundleFramework to obtain a BundleFrameworkConfiguration object which is wrapped by the

[jira] [Updated] (ARIES-669) Proxy or weaving code should mark all its changes synthetic

2011-06-08 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-669: Attachment: SyntheticModifier.txt I've attached another patch SyntheticModifier.txt which

[jira] [Updated] (ARIES-669) Proxy or weaving code should mark all its changes synthetic

2011-06-07 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Ellis updated ARIES-669: Attachment: static_init_patch.txt A patch to avoid using the StaticInitMerger code, allowing us to

Re: Yet another proxy/weaving problem

2011-06-07 Thread Richard Ellis
As Tim mentioned in his comment on Aries-669 we will try to implement a solution avoiding any ASM source. Rich From: David Jencks To: dev@aries.apache.org Date: 06/06/2011 21:57 Subject: Re: Yet another proxy/weaving problem On Jun 6, 2011, at 5:30 AM, Richard Ellis wrote: > David

Re: Yet another proxy/weaving problem

2011-06-06 Thread Richard Ellis
David, I don't think it is easy to mark the WovenProxy class as synthetic because it is a real interface with source in the org.apache.aries.proxy.weaving package. AFAIK there is no way to mark an interface as synthetic only on the implementing class, but not on the interface class itself. It i

[jira] [Commented] (ARIES-669) Proxy or weaving code should mark all its changes synthetic

2011-06-06 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044815#comment-13044815 ] Richard Ellis commented on ARIES-669: - David, Firstly, I think it would be helpfu

RE: Another weaving problem?

2011-06-06 Thread Richard Ellis
I'm sorry if I wasn't clear in making my point, which I believe has now been clarified by Tim. It was in fact that the specific Aries proxy methods under discussion were marked final for a reason other than performance and that reason was so that they could not be overridden. Rich From: Timo

Re: Another weaving problem?

2011-06-03 Thread Richard Ellis
I'm not going to comment on whether final methods perform better or not, but the other reason the methods are marked final is to stop people overriding them when they shouldn't. There is no reason for another proxy (or anything outside of Aries) to override the methods added by the Aries proxy.

[jira] [Commented] (ARIES-633) Improve proxy support for final classes and final methods

2011-04-14 Thread Richard Ellis (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019900#comment-13019900 ] Richard Ellis commented on ARIES-633: - I think it is worth pointing out as well