Skip to content

Specify that duplicate type discovery is non-portable#571

Merged
manovotn merged 1 commit intojakartaee:masterfrom
Ladicek:scanned-classes-duplicity
Dec 2, 2021
Merged

Specify that duplicate type discovery is non-portable#571
manovotn merged 1 commit intojakartaee:masterfrom
Ladicek:scanned-classes-duplicity

Conversation

@Ladicek
Copy link
Copy Markdown
Member

@Ladicek Ladicek commented Dec 2, 2021

This is because ScannedClasses may be implemented on top of
Portable Extensions using BeforeBeanDiscovery.addAnnotatedType,
which doesn't specify what happens when the same identifier
is used multiple times, and doesn't provide a portable way
to "override" the type that was discovered by the container.

This is because `ScannedClasses` may be implemented on top of
Portable Extensions using `BeforeBeanDiscovery.addAnnotatedType`,
which doesn't specify what happens when the same identifier
is used multiple times, and doesn't provide a portable way
to "override" the type that was discovered by the container.
@manovotn manovotn merged commit c80f9e8 into jakartaee:master Dec 2, 2021
@Ladicek Ladicek deleted the scanned-classes-duplicity branch December 2, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants