Bug 492161 - [1.8] ecj does not compile Java 8 code where javac does
Summary: [1.8] ecj does not compile Java 8 code where javac does
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.5.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact: Sasikanth Bharadwaj CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 564617
  Show dependency tree
 
Reported: 2016-04-21 06:24 EDT by Ales Krestan CLA
Modified: 2022-07-08 17:47 EDT (History)
2 users (show)

See Also:


Attachments
code to reproduce the bug (869 bytes, application/octet-stream)
2016-04-21 06:24 EDT, Ales Krestan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ales Krestan CLA 2016-04-21 06:24:32 EDT
Created attachment 261146 [details]
code to reproduce the bug

As per the attached Java source compilation results with ecj 4.5.2 and javac JDK 1.8.0_92 differ
Comment 1 Jay Arthanareeswaran CLA 2016-04-21 06:32:28 EDT
Same behavior can be seen on master too.
Comment 2 Stephan Herrmann CLA 2016-04-21 07:27:13 EDT
ecj reports:

----------
1. ERROR in /tmp/A.java (at line 19)
        return data.stream().map(rowMapper::map).collect(Collectors.toList());
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from List<Row<capture#1-of ? extends T>> to List<Row<T>>
----------
1 problem (1 error)


See also https://bugs.openjdk.java.net/browse/JDK-8016207
Comment 3 Eclipse Genie CLA 2022-07-08 17:47:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.