Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357224 - Class cast exception in package-info
Summary: Class cast exception in package-info
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.2   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 08:58 EDT by Dmitry Geraskov CLA
Modified: 2012-01-05 16:28 EST (History)
3 users (show)

See Also:
neil.hauge: review+


Attachments
proposed patch against 3.0 maintenance (2.02 KB, patch)
2012-01-05 16:22 EST, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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