Mark Struberg created OWB-1418: ---------------------------------- Summary: @Priority on @Alternative @Stereotype enables the bean Key: OWB-1418 URL: https://issues.apache.org/jira/browse/OWB-1418 Project: OpenWebBeans Issue Type: Bug Components: Core Affects Versions: 4.0.0 Reporter: Mark Struberg Assignee: Mark Struberg Fix For: 4.0.0
An Alternative is enabled if @Alternative @Stereotype has a @Priority annotation. This is defined in [https://jakarta.ee/specifications/cdi/4.0/jakarta-cdi-spec-4.0.html#priority_stereotype] {quote} Declaring stereotype with @Priority A stereotype may declare a @Priority annotation which functions as a means of enabling and ordering affected beans. {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)