[ https://issues.apache.org/jira/browse/OWB-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820041#comment-17820041 ]
Romain Manni-Bucau commented on OWB-1438: ----------------------------------------- -1, this goes against the spec (see CDI/Instance doc) plus it keeps the same exact bug with a producer using getMember or getAnnotated so no good reason to pollute our code IMHO until you find a way to fix other methods. > Synthetic InjectionPoint for CDI.current() and similar usages > ------------------------------------------------------------- > > Key: OWB-1438 > URL: https://issues.apache.org/jira/browse/OWB-1438 > Project: OpenWebBeans > Issue Type: Improvement > Components: Core > Affects Versions: 4.0.2 > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Major > Fix For: 4.0.3 > > > Right now using CDI.current().select(...).get() does not create an > InjectionPoint. Thus it's not possible to use a Dependent Scoped producer. We > could create a synthetic InjectionPoint with the qualifiers and type which > got selected. -- This message was sent by Atlassian Jira (v8.20.10#820010)