Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 403581 - [1.8][compiler] Compile error on varargs annotations.
Summary: [1.8][compiler] Compile error on varargs annotations.
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: BETA J8   Edit
Assignee: Srikanth Sankaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 287648
  Show dependency tree
 
Reported: 2013-03-17 14:40 EDT by Srikanth Sankaran CLA
Modified: 2013-03-17 14:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Srikanth Sankaran CLA 2013-03-17 14:40:00 EDT
BETA_JAVA8:

The following program is incorrectly rejected with three bogus syntax errors:

// ---
import java.util.List;

public class X {
	void foo(List<String> @Marker ... ls) {}
}
@java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE)
@interface Marker {
	
}

Fix is trivial and will follow shortly.