| Summary: | JAXB Schemagen: A Derived Type Is Generated Differently From JAXB-RI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Rick Barkhouse <rick.barkhouse> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 190197 [details]
Patch.
Fixed, reviewed by mmacivor. New test cases: SchemaGenInheritanceTestCases The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Given the following two classes: public abstract class Car implements Vehicle{ private String model; private String year; private String make; // + getters and setters ... public class Toyota extends Car { private String color; private final String make="Toyota"; // + getters and setters ... The generated schema will contain "make" properties on both Car and Toyota. However, the "getMake" method on Toyota is overriding the getter on Car, so a new Property should not be created.