Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 382354

Summary: [1.8][compiler] Compiler silent on conflicting modifier
Product: [Eclipse Project] JDT Reporter: Srikanth Sankaran <srikanth_sankaran>
Component: CoreAssignee: Stephan Herrmann <stephan.herrmann>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.8   
Target Milestone: BETA J8   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 383968    

Description Srikanth Sankaran CLA 2012-06-12 08:27:29 EDT
BETA_JAVA8:

The following program should be rejected, but is not:

//--------------

interface I {
  abstract void foo() default {}
}

//--------------

A default method is necessarily concrete and so cannot be tagged abstract.
Comment 1 Stephan Herrmann CLA 2012-06-30 18:39:33 EDT
Test & fix have been released as commit 42f700b3e8da8f3b5ece5f81ecd4a1c225203b7b