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

Summary: Annotations with named vals are not parsing.
Product: contrib Reporter: blair_nilsson <blair_nilsson>
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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.