Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357224

Summary: Class cast exception in package-info
Product: [WebTools] Dali JPA Tools Reporter: Dmitry Geraskov <geraskov>
Component: GeneralAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: geraskov, karenfbutzke, neil.hauge
Version: unspecifiedFlags: neil.hauge: review+
Target Milestone: 3.0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch against 3.0 maintenance none

Description Dmitry Geraskov CLA 2011-09-09 08:58:00 EDT
Build Identifier: I20110613-1736

SourceAnnotation#getParent()
The method should be removed or casted class should be changed to
JavaResourceAnnotatedElement.

Reproducible: Always

Steps to Reproduce:
When nested annotation become standalone in pacakge-info I face an error https://issues.jboss.org/browse/JBIDE-9687
Comment 1 Neil Hauge CLA 2011-09-09 15:12:46 EDT
Dmitry,

We are in the process of shutting down 3.0.1 maintenance for Indigo SR1.  If you want this bug to be fixed in SR1, please follow the hotbug process - http://wiki.eclipse.org/WTP/Hotbug_Policy.  Otherwise this will be fixed in 3.0.2 as it seems there are reasonable workarounds available until then.
Comment 2 Dmitry Geraskov CLA 2011-09-12 04:16:45 EDT
Thanks, Neil, not necessary
Comment 3 Karen Butzke CLA 2012-01-05 16:22:24 EST
Created attachment 209104 [details]
proposed patch against 3.0 maintenance
Comment 4 Karen Butzke CLA 2012-01-05 16:23:20 EST
This issue does not exist in HEAD so we only need to fix it in maintenance
Comment 5 Karen Butzke CLA 2012-01-05 16:28:41 EST
resolved for 3.0.2