Josiah Noel
Josiah Noel
Is it so inconceivable that a module would provide generic types? I've got a mongo common library that handles authentication and provides some common `MongoCollection` beans. Currently, I have to...
Factory beans that return `Map`s are also not uncommon. Overall, wrapping generic types to get them to wire across modules is quite a hassle.
> Noting that this is a breaking change - it would need a bump to the major version Surprisingly, it doesn't break anything except the plugins. `Class` extends `Type` so...
> Can you share an example? an example of wrapping? In module A: ```java @Singleton public record WrapperClass(Map map){} ``` Then you can inject WrapperClass into a bean in some...
> modules with a **_concrete_** class (and not an interface) I don't follow, the point of this PR is that we can avoid concrete wrapper classes and use the generic...
> modules with a concrete class (and not an interface) I did think of an example though. Some time ago I was helping out a guy on discord with avaje...
> * I would assume that `pkg.getEnclosingElement()` will _not_ return the module for a package unless the package actually comes from the module path. at least on Java 11+ annotation...
transitive and static cannot both take effect at the same time
> is that true? [I guess not](https://mail.openjdk.org/pipermail/jigsaw-dev/2024-January/015031.html), but modules that depend on it will need to have jspecify in the dependency tree or they'll get a module not found error.
> The problem in your case might be a missing `resourceDir` in the [jpackage](https://badass-jlink-plugin.beryx.org/releases/latest/#_jpackage) config. Can you check this? nah that has nothing to do with it. `getClass().getResourceAsStream("web-ui")` (assuming that's...