Bug 81957 - AST error while parsing annotation
Summary: AST error while parsing annotation
Status: RESOLVED DUPLICATE of bug 81825
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 03:41 EST by Emmanuel Bernard CLA
Modified: 2005-01-04 17:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Bernard CLA 2004-12-28 03:41:33 EST
In 3.1M4,
The parameter order of an annotation is significant in your actual parser
Ex
@Column(name="myColumn", unique=true) works
@Column(unique=true, name="myColumn") doesn't
Where Column is defined by
public @interface Column {
    String name() default="";
    boolean unique() default false;
}

See http://forum.hibernate.org/viewtopic.php?t=937293#2225851 for some explanations
Comment 1 Olivier Thomann CLA 2005-01-04 10:52:08 EST
Could not reproduce with latest.
Could it be a duplicate of bug 81825?
Comment 2 Olivier Thomann CLA 2005-01-04 17:35:01 EST
Today's build (0105-1600) can compile the HEAD contents of project Hibernate3
from the CVS server.
Close as duplicate of bug 81825.
Please inform people on the Hibernate's forum that this issue is fixed. Thanks
for reporting the problem.

*** This bug has been marked as a duplicate of 81825 ***