| Summary: | ClassCastException: SourceField/SourceMethod cannot be cast to JavaResourceAbstractType | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Nan Li <nan.n.li> | ||||
| Component: | JAXB | Assignee: | Paul Fullbright <paul.fullbright> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge | ||||
| Version: | unspecified | Flags: | neil.hauge:
review+
|
||||
| Target Milestone: | 3.0.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | fix_ready | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 348639 | ||||||
| Attachments: |
|
||||||
|
Description
Nan Li
Correction of the last paragraph in the bug description: Similar exception would be thrown when trying to apply @XmlType to a property complaining org.eclipse.jpt.jaxb.core.internal.resource.java.source.SourceMethod cannot be cast to org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAbstractType. Created attachment 197520 [details]
3.0.1 proposed patch
patch for 3.0.1 - no changes to api; only catch the exception and swallow it
fixed post 3.0 Verified in Build I-3.4.0-20110826171354 Verified when you add @XmlType to a field that no CastClassException appears in the error log. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1 |