You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Joe Bergmark (JIRA)" <ji...@apache.org> on 2010/02/22 21:13:28 UTC
[jira] Commented: (OWB-297) DelegateInjection point should not be
required to be an interface.
[ https://issues.apache.org/jira/browse/OWB-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836876#action_12836876 ]
Joe Bergmark commented on OWB-297:
----------------------------------
Removing the interface check from DecoratorUtil and WebBeansDecorator did not fail any of our unit tests, and passed one additional TCK test without any regressions. Unless there is another interpretation of this behavior I will plan on committing this change.
> DelegateInjection point should not be required to be an interface.
> ------------------------------------------------------------------
>
> Key: OWB-297
> URL: https://issues.apache.org/jira/browse/OWB-297
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Affects Versions: M3
> Reporter: Joe Bergmark
> Assignee: Joe Bergmark
> Fix For: 1.0.0
>
>
> Currently if the delegate injection point of an Decorator is not an interface a deployment time exception is thrown.
> This behavior does not match my understanding of section 8.1.3 which I believe says that the type of the delegate injection point must extend or implement all of the decorated types. I also believe this is leading to some TCK failures currently.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (OWB-297) DelegateInjection point should not be
required to be an interface.
Posted by Gurkan Erdogdu <cg...@gmail.com>.
Hello Joe;
Yes, go ahead and do it :)
Thanks;
2010/2/22 Joe Bergmark (JIRA) <ji...@apache.org>
>
> [
> https://issues.apache.org/jira/browse/OWB-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836876#action_12836876]
>
> Joe Bergmark commented on OWB-297:
> ----------------------------------
>
> Removing the interface check from DecoratorUtil and WebBeansDecorator did
> not fail any of our unit tests, and passed one additional TCK test without
> any regressions. Unless there is another interpretation of this behavior I
> will plan on committing this change.
>
> > DelegateInjection point should not be required to be an interface.
> > ------------------------------------------------------------------
> >
> > Key: OWB-297
> > URL: https://issues.apache.org/jira/browse/OWB-297
> > Project: OpenWebBeans
> > Issue Type: Bug
> > Components: Interceptor and Decorators
> > Affects Versions: M3
> > Reporter: Joe Bergmark
> > Assignee: Joe Bergmark
> > Fix For: 1.0.0
> >
> >
> > Currently if the delegate injection point of an Decorator is not an
> interface a deployment time exception is thrown.
> > This behavior does not match my understanding of section 8.1.3 which I
> believe says that the type of the delegate injection point must extend or
> implement all of the decorated types. I also believe this is leading to
> some TCK failures currently.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com
AW: [jira] Commented: (OWB-297) DelegateInjection point should not be required to be an interface.
Posted by Mark Struberg <st...@yahoo.de>.
+1 go for it.
The @Observes part of the spec is pretty obfuscated, and I remember a long discussion where still not all points are cleared.
Thus I think we should allow as much as possible without interfering the spec.
LieGrue,
strub
--- Joe Bergmark (JIRA) <ji...@apache.org> schrieb am Mo, 22.2.2010:
> Von: Joe Bergmark (JIRA) <ji...@apache.org>
> Betreff: [jira] Commented: (OWB-297) DelegateInjection point should not be required to be an interface.
> An: dev@openwebbeans.apache.org
> Datum: Montag, 22. Februar, 2010 21:13 Uhr
>
> [ https://issues.apache.org/jira/browse/OWB-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836876#action_12836876
> ]
>
> Joe Bergmark commented on OWB-297:
> ----------------------------------
>
> Removing the interface check from DecoratorUtil and
> WebBeansDecorator did not fail any of our unit tests, and
> passed one additional TCK test without any
> regressions. Unless there is another interpretation of
> this behavior I will plan on committing this change.
>
> > DelegateInjection point should not be required to be
> an interface.
> >
> ------------------------------------------------------------------
> >
> >
> Key: OWB-297
> >
> URL: https://issues.apache.org/jira/browse/OWB-297
> >
> Project: OpenWebBeans
> > Issue Type: Bug
> > Components:
> Interceptor and Decorators
> > Affects Versions: M3
> > Reporter: Joe
> Bergmark
> > Assignee: Joe
> Bergmark
> >
> Fix For: 1.0.0
> >
> >
> > Currently if the delegate injection point of an
> Decorator is not an interface a deployment time exception is
> thrown.
> > This behavior does not match my understanding of
> section 8.1.3 which I believe says that the type of the
> delegate injection point must extend or implement all of the
> decorated types. I also believe this is leading to
> some TCK failures currently.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue
> online.
>
>
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com