klum-dsl / klum-ast

Turn your models into super models
https://github.com/klum-dsl/klum-ast/wiki
MIT License
3 stars 0 forks source link

Fields with generics in generics leads to TypeResolver NPE in JDK 11 #243

Closed pauxus closed 2 years ago

pauxus commented 2 years ago

something like Map<String, List<String>>

Does not happen with JDK 1.8

pauxus commented 2 years ago

Problem seems to be the explicitly created converter methods from constructors with multiple elements.

pauxus commented 2 years ago

In this case the number of List.of(...) methods defined in List

pauxus commented 2 years ago

Multiple options:

pauxus commented 2 years ago

Reason for not happening in JDK8 is simply the missing Factory methods in List