This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171446 - Annotations with named vals are not parsing.
Summary: Annotations with named vals are not parsing.
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 00:12 UTC by blair_nilsson
Modified: 2009-09-04 00:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blair_nilsson 2009-09-04 00:12:17 UTC
Annotations like 
@SessionAttributes{val value=Array("batch")} doesn't parse, and has the error "expected start of definition" but it 
compiles just fine.

if you use the form 
@SessionAttributes(Array("Batch")) it parses just fine.

This is the same across the board for annotations, 

Because of that you can at least work around it unless you have more then one value to be set in an annotation.