Re: Odd behavior in InjectionPointProducer

2017-09-17 Thread John D. Ament
ould get a proxy that directly extends > >> Object. So you could invoke no method on that bean (except toString(), > >> equals(...), hashCode(), ...) > >> > >> > >> Does not seem to be usefull at all > >> > >> _____

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread Mark Struberg
Am 11.09.2017 um 09:41 schrieb Arne Limburg < >> arne.limb...@openknowledge.de>: >>> >>> Quick look into the spec >> http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#name_resolution >>> >>> @Named >>> >>> @Typed() &g

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread John D. Ament
think. > > > > Would that pass the TCK? If yes, we definitely should file a TCK issue, > > there seems to be a test missing. > > > > > > Cheers, > > > > Arne > > > > ____ > > Von: Mark Struberg &l

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread John D. Ament
eem to be usefull at all > > > Von: Mark Struberg <strub...@yahoo.de.INVALID> > Gesendet: Montag, 11. September 2017 11:13:20 > An: openwebbeans-dev > Betreff: Re: Odd behavior in InjectionPointProducer > > yes I'm also really sure it must get resolved a

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread John D. Ament
On Mon, Sep 11, 2017 at 3:05 AM Mark Struberg wrote: > Hmm, if you have a class > > public class Bla { > private @Inject Instance myInstance; > } > > then I'd asssume that the InjectionPoint.getType for myInstance would be > Instance and not Foo alone. > > Agreed,

AW: Odd behavior in InjectionPointProducer

2017-09-11 Thread Arne Limburg
sendet: Montag, 11. September 2017 11:13:20 An: openwebbeans-dev Betreff: Re: Odd behavior in InjectionPointProducer yes I'm also really sure it must get resolved as per the spec. The question is just which proxy you get once there is also a normal scope on the class @Named @Typed @Application

AW: Odd behavior in InjectionPointProducer

2017-09-11 Thread Arne Limburg
:31:38 An: openwebbeans-dev Betreff: Re: Odd behavior in InjectionPointProducer Not sure it is 100% related but looks like a bean without types so not even sure @Named should be "matchable" since you dont match types at all (we often used @Typed = @Vetoed in CDI 1.0) Romain Manni-Bucau @rm

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread Romain Manni-Bucau
code below we simply should return parameterizedType I think. > >> > >> Would that pass the TCK? If yes, we definitely should file a TCK issue, > >> there seems to be a test missing. > >> > >> > >> Cheers, > >> > >> Arne &g

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread Mark Struberg
Cheers, >> >> Arne >> >> ____ >> Von: Mark Struberg <strub...@yahoo.de.INVALID> >> Gesendet: Montag, 11. September 2017 09:04:41 >> An: openwebbeans-dev >> Betreff: Re: Odd behavior in InjectionPointProducer

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread Romain Manni-Bucau
sue, > there seems to be a test missing. > > > Cheers, > > Arne > > > Von: Mark Struberg <strub...@yahoo.de.INVALID> > Gesendet: Montag, 11. September 2017 09:04:41 > An: openwebbeans-dev > Betreff: Re: Odd behavior in InjectionPointProducer >

AW: Odd behavior in InjectionPointProducer

2017-09-11 Thread Arne Limburg
Von: Mark Struberg <strub...@yahoo.de.INVALID> Gesendet: Montag, 11. September 2017 09:04:41 An: openwebbeans-dev Betreff: Re: Odd behavior in InjectionPointProducer Hmm, if you have a class public class Bla { private @Inject Instance myInstance; } then I'd a

Re: Odd behavior in InjectionPointProducer

2017-09-11 Thread Mark Struberg
Hmm, if you have a class public class Bla { private @Inject Instance myInstance; } then I'd asssume that the InjectionPoint.getType for myInstance would be Instance and not Foo alone. > The problem is that Bean.getBeanClass() can never be null, by definition, > but also should not be used

Re: Odd behavior in InjectionPointProducer

2017-09-10 Thread Romain Manni-Bucau
Hmm Does it passes TCK with your patch? Also wonder if we shouldnt get the impl in some cases vs the signature. If tck are green im ok with it. Le 10 sept. 2017 22:54, "John D. Ament" a écrit : > Hi, > > I'm running some tests locally using OWB and Instance objects. I