Bug 364230

Summary: [compiler][1.7] Diamond inference works in expression without assignation
Product: [Eclipse Project] JDT Reporter: Rémi Forax <forax>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, srikanth_sankaran
Version: 3.8   
Target Milestone: 3.8 M4   
Hardware: All   
OS: Linux   
Whiteboard:

Description Rémi Forax CLA 2011-11-19 17:42:07 EST
Build Identifier: I20111027-1800

This code currently compiles but should not.
  new ArrayList<>();



Reproducible: Always

Steps to Reproduce:
1. write the expression in the main of a class.
Comment 1 Rémi Forax CLA 2011-11-19 17:52:43 EST
Sorry for the noise, it's not a bug.
Comment 2 Jay Arthanareeswaran CLA 2011-12-04 20:51:58 EST
Verified for 3.8 M4.