Community
Participate
Working Groups
Given the following model: import java.util.List; public class AbstractClassWithGenerics<T> { private List<T> a; public List<T> getA() { return a; } public void setA(List<T> a) { this.a = a; } } and public class ConcreteClassWithGenerics extends AbstractClassWithGenerics<String> { } An exception is thrown when trying to create a JAXBContext on the subclass.
Created attachment 191855 [details] MOXy - Test Cases
Created attachment 191856 [details] MOXy - Fix
Fix checked into trunk at rev: 9171 Code reviewed by: Matt MacIvor Fix Description: In Property guard against there being an ActualTypeArguments list of size 0.
*** Bug 347958 has been marked as a duplicate of this bug. ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink