| Summary: | Problem when super class has generics | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox, i82much | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
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 |
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.