Ladislav Thon

Results 347 comments of Ladislav Thon

We'll use the [CDI 4.1/5.0 milestone](https://github.com/jakartaee/cdi/milestone/1) for defining the next CDI version. For now, I added all issues listed here to that milestone, but that doesn't express commitment. I'll keep...

> When using record type, I must add a cocanial constructor and an extra `@Inject` to inject the dependent beans. > > 1. `@Inject` can not be applied on the...

Seriously, is ```java @Dependent public record Foo(Bar bar) { @Inject Foo { } } ``` so much worse than ```java @Dependent public record Foo(Bar bar) { } ``` ?

This seems reasonable to me. We probably want to copy https://jakarta.ee/specifications/cdi/4.1/jakarta-cdi-spec-4.1.html#primitive_types_and_null_values to somewhere in the _Events_ chapter. Not sure about `null` behavior though. Can an event object even be `null`?

For the record, I just wrote a test for this that verifies that ArC behaves the same as Weld (that is, both primitive and wrapper observers are notified).

Re Valhalla: generics specialization is still in the distant future, and we're already in a "problem" with bean assignability anyway (we treat primitives and their wrappers as identical), so I...

The interesting thing about the testing improvements here is support for non-Linux OSs. I don't know if it works or not, I'd appreciate if anyone with Windows or macOS tested...

Apparently the formatter doesn't like the file...?

Note that this is not as easy to implement as it sounds, see https://guava.dev/releases/21.0/api/docs/com/google/common/io/MoreFiles.html#deleteRecursively-java.nio.file.Path-com.google.common.io.RecursiveDeleteOption...- for the Guava javadoc and especially the warning. I agree we shouldn't add a dependency on...