TypeParameters for nested types are not properly collected

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.0.0
    • Affects Version/s: None
    • Component/s: POJO
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      public class A<T> {
          private List<List<T>> values;
      }
      
      public class B extends A<Float>{
          @BsonId
          private Integer id;
      }
      

      The type for values is not correctly captured and results in the codec registry looking for a handler for List<List<Object>> and not List<List<Float>>.

              Assignee:
              Ross Lawley
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: