Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 394355 - [1.8][compiler] Declaration annotations should be rejected on receiver parameter
Summary: [1.8][compiler] Declaration annotations should be rejected on receiver parameter
Status: RESOLVED WORKSFORME
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: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 287648
  Show dependency tree
 
Reported: 2012-11-14 23:49 EST by Srikanth Sankaran CLA
Modified: 2012-11-15 04:17 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 Srikanth Sankaran CLA 2012-11-14 23:49:12 EST
The latest spec for JSR308 disallows SE7 annotations on receivers.
Presently eclipse allows these. We need to reject them with a suitable
clear (if needed new) message
Comment 1 Jay Arthanareeswaran CLA 2012-11-15 04:17:25 EST
ECJ already behaves as expected and I have added a regression test via commit: 

http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=a8ed5c9ce2b125913ea11ffa5f66b79c1153133a