[weld/core] 68e6e5: Bump CDI API to 5.0.0.Alpha4 and add stub implemen...
by Matej Novotny
Branch: refs/heads/master
Home: https://github.com/weld/core
Commit: 68e6e5c57abb6442341b96ebdb35d4d195e61d4e
https://github.com/weld/core/commit/68e6e5c57abb6442341b96ebdb35d4d195e61d4e
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/events/AfterDeploymentValidationImpl.java
M impl/src/main/java/org/jboss/weld/bootstrap/events/configurator/BeanAttributesConfiguratorImpl.java
M impl/src/main/java/org/jboss/weld/bootstrap/events/configurator/BeanConfiguratorImpl.java
M pom.xml
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/BeanInfoImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/StereotypeInfoImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/SyntheticBeanBuilderImpl.java
Log Message:
-----------
Bump CDI API to 5.0.0.Alpha4 and add stub implementations
Update `weld.api.version` to 7.0.Alpha5 and `cdi.tck.version` to
5.0.0.Alpha3. Add no-op stubs for new CDI 5.0 API methods to restore
compilation:
- `BeanAttributesConfigurator.eager(boolean)`
- `BeanConfigurator.eager(boolean)`
- `AfterDeploymentValidation.ensureAsyncHandlerExists()`
- `BeanInfo.isEager()`
- `StereotypeInfo.isEager()`
- `SyntheticBeanBuilder.eager(boolean)`
Commit: d338e97d96a7cb41a3717b1b0ea058dab81faeba
https://github.com/weld/core/commit/d338e97d96a7cb41a3717b1b0ea058dab81faeba
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bean/builtin/DynamicLookupInjectionPoint.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/notInjectedInstance/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/notInjectedInstance/Nice.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/notInjectedInstance/NiceFoo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/notInjectedInstance/NotInjectedInstanceInjectionPointTest.java
Log Message:
-----------
Add @Default qualifier for non-injected Instance InjectionPoint
When `Instance` is obtained programmatically via
`BeanContainer.createInstance()` and no qualifiers are specified,
`DynamicLookupInjectionPoint.getQualifiers()` now returns
`@Default` instead of an empty set.
This aligns with the CDI 5.0 spec clarification (issue #779) that
`@Default` is implied when no qualifiers are selected.
Commit: ce4d288f3a37029483231f6490f14c76ec1bbf4f
https://github.com/weld/core/commit/ce4d288f3a37029483231f6490f14c76ec1bbf4f
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/MyGenericService.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/MyIntegerService.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/MyStringService.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/ObservingBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/ParameterizedRegistrationExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/lite/extension/registration/parameterized/ParameterizedRegistrationTest.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/ExtensionPhaseRegistration.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/ExtensionPhaseRegistrationAction.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/logging/LiteExtensionTranslatorLogger.java
Log Message:
-----------
Support parameterized types in @Registration observers
`@Registration(types = ...)` now supports `TypeLiteral` subclasses
to specify parameterized registration types. For example,
`@Registration(types = MyTypeLiteral.class)` where
`MyTypeLiteral extends TypeLiteral<MyService<String>>` will match
beans whose types include `MyService<String>`.
Changes in `ExtensionPhaseRegistration`:
- Resolve `TypeLiteral` subclasses to their actual type argument
- Validate against raw `TypeLiteral` and type variables
Changes in `ExtensionPhaseRegistrationAction`:
- Accept `Set<Type>` instead of `Set<Class<?>>`
- Bean matching: raw type comparison for `Class`, exact match for
parameterized types
- Observer matching: raw assignability for `Class`, type closure
check for parameterized types
Commit: 7a2966bfbc60250c229e9a9d7655f60067d735b0
https://github.com/weld/core/commit/7a2966bfbc60250c229e9a9d7655f60067d735b0
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/WeldStartup.java
M impl/src/main/java/org/jboss/weld/bootstrap/events/AfterDeploymentValidationImpl.java
M impl/src/main/java/org/jboss/weld/invokable/AbstractInvokerBuilder.java
A impl/src/main/java/org/jboss/weld/invokable/AsyncHandlerRegistry.java
A impl/src/main/java/org/jboss/weld/invokable/AsyncInvokerImpl.java
M impl/src/main/java/org/jboss/weld/invokable/CleanupActions.java
M impl/src/main/java/org/jboss/weld/invokable/InvokerBuilderImpl.java
M impl/src/main/java/org/jboss/weld/invokable/MethodHandleUtils.java
M impl/src/main/java/org/jboss/weld/logging/InvokerLogger.java
M impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/AsyncBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/AsyncInvokerExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/AsyncInvokerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/CompletableFuturePublisher.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/DependentBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/BothAnnotationsHandler.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/BothAnnotationsHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/RawAsyncHandler.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/RawAsyncHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/UnannotatedHandler.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/broken/UnannotatedHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/CustomAsyncBCETest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/CustomAsyncBCExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/CustomAsyncBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/CustomAsyncExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/CustomAsyncHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/MyAsyncType.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/MyAsyncTypeHandler.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/custom/MyAsyncTypeImpl.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/paramtype/MyAsyncParam.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/paramtype/MyAsyncParamHandler.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/paramtype/ParamTypeBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/paramtype/ParamTypeExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/paramtype/ParameterTypeAsyncHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/validation/MissingAsyncHandlerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/validation/MissingHandlerExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/invokable/async/validation/NoSuchAsyncType.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/ExtensionMethodParameterType.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/ExtensionPhaseValidation.java
A weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/InvokerValidationImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/SyntheticComponentBuilderBase.java
Log Message:
-----------
Implement async invoker support
Add `AsyncHandler` discovery and integration into the invoker
chain. When a method's return type or parameter type matches a
registered async handler, dependent bean cleanup is deferred until
the async operation completes.
Built-in `@ReturnType` handlers are provided for `CompletionStage`,
`CompletableFuture`, and `Flow.Publisher`.
Key changes:
- `AsyncHandlerRegistry` as a deployment-level `Service` in the
`ServiceRegistry`, shared across all BeanManagers
- `AsyncInvokerImpl` applies async handler's `transform()` with
deferred cleanup for both `@ReturnType` and `@ParameterType`
- `CleanupActions` deferred variants store the instance in a
ThreadLocal instead of running cleanup on success
- `AfterDeploymentValidation.ensureAsyncHandlerExists()` and
`InvokerValidation` support in the lite extension translator
Commit: adb4c991cf80dec87161c032924004a23b1dc9af
https://github.com/weld/core/commit/adb4c991cf80dec87161c032924004a23b1dc9af
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M pom.xml
Log Message:
-----------
Revert CDI TCK version to 5.0.0.Alpha2
The 5.0.0.Alpha3 release did not publish all artifacts correctly,
causing dependency resolution failures for the TCK runner module.
Commit: a12ab37b6b12f91ce8dc52736fe4f19ebc2fecda
https://github.com/weld/core/commit/a12ab37b6b12f91ce8dc52736fe4f19ebc2fecda
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M jboss-as/pom.xml
Log Message:
-----------
Bump CDI API version in WildFly updater to 5.0.0.Alpha4
Commit: cf6a27c30a5cce8fa25ac0ca119eb7914088a3dd
https://github.com/weld/core/commit/cf6a27c30a5cce8fa25ac0ca119eb7914088a3dd
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bean/attributes/BeanAttributesFactory.java
M impl/src/main/java/org/jboss/weld/bean/attributes/ExternalBeanAttributesFactory.java
M impl/src/main/java/org/jboss/weld/bean/attributes/ImmutableBeanAttributes.java
M impl/src/main/java/org/jboss/weld/bootstrap/Validator.java
M impl/src/main/java/org/jboss/weld/bootstrap/WeldStartup.java
M impl/src/main/java/org/jboss/weld/bootstrap/events/configurator/BeanAttributesConfiguratorImpl.java
M impl/src/main/java/org/jboss/weld/bootstrap/events/configurator/BeanConfiguratorImpl.java
M impl/src/main/java/org/jboss/weld/logging/ValidatorLogger.java
M impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
M impl/src/main/java/org/jboss/weld/metadata/cache/MergedStereotypes.java
M impl/src/main/java/org/jboss/weld/metadata/cache/StereotypeModel.java
M impl/src/main/java/org/jboss/weld/util/Beans.java
M impl/src/main/java/org/jboss/weld/util/bean/ForwardingBeanAttributes.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/EagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/EagerBeanTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/LazyBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/broken/DependentEagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/broken/DependentEagerBeanTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/ChildStereotype.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/EagerStereotype.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/EagerStereotypeTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/InheritedStereotypeEagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/ParentEagerStereotype.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/stereotype/StereotypeEagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBCExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBeanBCE.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBeanBCECreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBeanBCETest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBeanExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/synthetic/EagerSyntheticBeanTest.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/BeanInfoImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/LiteExtensionTranslator.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/StereotypeInfoImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/SyntheticBeanBuilderImpl.java
Log Message:
-----------
Implement @Eager annotation support
`@ApplicationScoped` beans annotated with `@Eager` (or with a
stereotype declaring `@Eager`) are now eagerly initialized during
container startup, before the `Startup` event is fired. Eager beans
are collected during `addBean()` for efficient startup init.
Key changes:
- `ImmutableBeanAttributes`: new `eager` field and `isEager()`
- `BeanAttributesFactory` / `ExternalBeanAttributesFactory`: detect
and preserve `@Eager` on beans, producers, and extension-provided
`BeanAttributes`
- `StereotypeModel` / `MergedStereotypes`: support `@Eager` via
stereotypes, including inherited stereotypes
- `BeanAttributesConfiguratorImpl` / `BeanConfiguratorImpl`:
real `eager(boolean)` implementation
- `ForwardingBeanAttributes`: delegate `isEager()`
- `Validator`: `@Eager` on non-`@ApplicationScoped` is a
`DefinitionException`
- `BeanManagerImpl`: collect eager beans during `addBean()`
- `WeldStartup`: instantiate collected eager beans in
`endInitialization()` before the `Startup` event
- Lite extension translator: `BeanInfo.isEager()`,
`StereotypeInfo.isEager()`, and `SyntheticBeanBuilder.eager()`
Commit: 97a5f4afe06fc388029c5b242010b8577e21ae91
https://github.com/weld/core/commit/97a5f4afe06fc388029c5b242010b8577e21ae91
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/invokable/InvokerValidationUtils.java
M impl/src/main/java/org/jboss/weld/invokable/MethodHandleUtils.java
M impl/src/main/java/org/jboss/weld/invokable/TransformerMetadata.java
M impl/src/main/java/org/jboss/weld/logging/InvokerLogger.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/InvokerFactoryImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/RecordComponentInfoImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/logging/LiteExtensionTranslatorLogger.java
Log Message:
-----------
Route exception throws through Logger classes
Cleanup of invoker and lite extension translator modules to ensure
all exceptions go through Logger interfaces instead of being
thrown directly.
Commit: 1a3b4ef054cd8a0a4b888e08c0d1581fe7f0bb38
https://github.com/weld/core/commit/1a3b4ef054cd8a0a4b888e08c0d1581fe7f0bb38
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/Validator.java
M impl/src/main/java/org/jboss/weld/bootstrap/WeldStartup.java
M impl/src/main/java/org/jboss/weld/logging/ValidatorLogger.java
M impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
M tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/EagerBeanTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/SingletonEagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/bean/SingletonStereotype.java
Log Message:
-----------
Extend @Eager support to @Singleton scoped beans
Added a test using a @Singleton stereotype to verify eager
initialization works for singleton beans.
Commit: 128625116b5658108c4a256f1bf0d6be208ccb09
https://github.com/weld/core/commit/128625116b5658108c4a256f1bf0d6be208ccb09
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M jboss-as/pom.xml
M pom.xml
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Alpha.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/AnotherQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/BasicSyntheticInjectionPointExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/BasicSyntheticInjectionPointTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Bravo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Charlie.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/DependentCleanupCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/DependentCleanupQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/DependentHelper.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/MyQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/NewApiClassAnnotationCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/NewApiClassAnnotationInfoCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/NewApiTypeAnnotationCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/NewApiTypeAnnotationInfoCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/OldApiCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/OldApiQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Scenario2aQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Scenario2bQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Scenario3aQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/Scenario3bQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/basic/SyntheticResult.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/BothMethodsCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/BothMethodsExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/BothMethodsTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/DummyCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/ExistingDefaultBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/NoMatchingBeanExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/NoMatchingBeanTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/NoSuchBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredClassResult.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredLookupCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredLookupExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredLookupTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredQualifiedCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredQualifiedResult.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredTypeLiteralCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/UnregisteredTypeLiteralResult.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/WrongQualifierExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/broken/WrongQualifierTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/DisposableResult.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/DisposerExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/DisposerHelper.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/DisposerTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/NewApiDisposer.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/NewDisposerCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/NewDisposerQualifier.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/OldApiDisposer.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/OldDisposerCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/disposer/OldDisposerQualifier.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/LiteExtensionTranslator.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/SyntheticBeanBuilderImpl.java
A weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/SyntheticInjectionsImpl.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/logging/LiteExtensionTranslatorLogger.java
Log Message:
-----------
Implement SyntheticBeanBuilder.withInjectionPoint() and SyntheticInjections
Bump Weld API to 7.0.Alpha6. Implement the new CDI 5.0 API for
declaring and validating injection points on synthetic beans.
Commit: f4daf360192d9cecc5ce799aa2ec025eee0bc147
https://github.com/weld/core/commit/f4daf360192d9cecc5ce799aa2ec025eee0bc147
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
A tests-arquillian/src/test/java/org/jboss/weld/tests/producer/disposer/dependent/DependentBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/producer/disposer/dependent/ProducerDisposerDependentParameterTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/producer/disposer/dependent/ProducerWithDisposer.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/producer/disposer/dependent/Product.java
Log Message:
-----------
Add test for @Dependent bean lifecycle in producer/disposer parameters
Commit: 4eb7615efb623e988c6f4b616d639c89c1844371
https://github.com/weld/core/commit/4eb7615efb623e988c6f4b616d639c89c1844371
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/logging/MetadataLogger.java
M impl/src/main/java/org/jboss/weld/metadata/cache/StereotypeModel.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/broken/stereotype/DependentEagerBean.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/broken/stereotype/EagerAndDependentOnStereotypeTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/eager/broken/stereotype/EagerDependentStereotype.java
Log Message:
-----------
Validate @Eager and scope compatibility on stereotypes
Commit: 90a0bb2b2f54c203569e60f58e0ea08aa47f1dc3
https://github.com/weld/core/commit/90a0bb2b2f54c203569e60f58e0ea08aa47f1dc3
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/AnnotationBuilderQualifierCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/AnnotationBuilderQualifierExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/AnnotationBuilderQualifierTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/PlainService.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/Service.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/Special.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/SpecialService.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/SyntheticPojo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/Tagged.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/annotationBuilder/TaggedService.java
M weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/AnnotationProxy.java
Log Message:
-----------
Fix AnnotationProxy hashCode/equals to follow the Annotation contract
Commit: 1edc485e83129173874ce93b278a6bd67a245a10
https://github.com/weld/core/commit/1edc485e83129173874ce93b278a6bd67a245a10
Author: Matej Novotny <manovotn(a)ibm.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M impl/src/main/java/org/jboss/weld/bootstrap/events/configurator/BeanConfiguratorImpl.java
A impl/src/main/java/org/jboss/weld/injection/SyntheticInjectionPoint.java
M impl/src/main/java/org/jboss/weld/logging/BeanLogger.java
M impl/src/main/java/org/jboss/weld/serialization/InjectionPointHolder.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/indirectInjectionPoint/IndirectInjectionPointCreator.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/indirectInjectionPoint/IndirectInjectionPointExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/indirectInjectionPoint/IndirectInjectionPointTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/indirectInjectionPoint/InjectionPointCaptor.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/bce/syntheticInjectionPoint/indirectInjectionPoint/SyntheticPojo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/beanConfigurator/indirect/IndirectInjectionPointExtension.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/beanConfigurator/indirect/IndirectInjectionPointTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/beanConfigurator/indirect/InjectionPointCaptor.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/injectionPoint/beanConfigurator/indirect/InjectionPointResult.java
Log Message:
-----------
Propagate bean reference in InjectionPoint for `produceWith` beans
`BeanConfigurator.produceWith()` callbacks receive an `Instance<Object>`
for programmatic lookup. When a `@Dependent` bean obtained through this
`Instance` injects `InjectionPoint`, `getBean()` was returning null
because the underlying `Instance` used a static `InstanceInjectionPoint`
with no bean reference.
Introduce `SyntheticInjectionPoint` — an `InjectionPoint` impl for
synthetic contexts with a bean reference but no source-level element
(`getAnnotated()` and `getMember()` return null). The `Instance` created
in `CreateCallback.createInstance()` now carries a `SyntheticInjectionPoint`
so that `DynamicLookupInjectionPoint` can delegate `getBean()` to it.
Add `SyntheticInjectionPointIdentifier` in `InjectionPointHolder` to
handle serialization of these injection points by storing the bean (via
`BeanHolder`), type, and qualifiers for reconstruction.
Compare: https://github.com/weld/core/compare/b586c92fc724...1edc485e8312
To unsubscribe from these emails, change your notification settings at https://github.com/weld/core/settings/notifications
5 days, 6 hours