Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix premature access to RegistryFactory #8118

Merged
merged 5 commits into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ private <T extends EntityManager> void saveEntityManagerQualifiers(@Observes
* @exception IOException if an input or output error occurs, typically because a {@code META-INF/persistence.xml}
* resource was found but could not be loaded for some reason
*
* @exception JAXBException if there was a problem {@linkplain Unmarshaller#unmarshal(Reader) unmarshalling} a
* @exception JAXBException if there was a problem {@linkplain Unmarshaller#unmarshal(java.io.Reader) unmarshalling} a
* {@code META-INF/persistence.xml} resource
*
* @exception NullPointerException if either {@code event} or {@code beanManager} is {@code null}
Expand Down Expand Up @@ -2045,7 +2045,7 @@ private void maybeAddPersistenceProviderBean(AfterBeanDiscovery event,

private void onStartup(@Observes
@Initialized(ApplicationScoped.class)
@Priority(LIBRARY_BEFORE)
@Priority(LIBRARY_BEFORE + 20) // Must be later than metrics CDI extension priority
Object event,
@ContainerManaged
Instance<EntityManagerFactory> emfs) {
Expand Down