On 24/07/16 00:16, Suneel Marthi wrote:
> The code may have to go thru another round of cleanup, for eg:
> 
> In Java7>  List<String> list = new ArrayList<>();
> In Java 8> List<String> list = new ArrayList();

That's one example of coding to Java 8 syntax and libraries, rather than
simply using Java 8.  I'm assuming that now we are requiring
Java 8, all the new features are fair game.

> Also, have been cautioned by the Beam folks about using Java 8 lambdas.
> Projects like Flink and others have a separate module for Java 8 lambda
> implementations.

What was the caution?

> Hence, I wasn't sure if we wanted to change <javac.target> to 1.8.
> 
> thoughts?

I'm for changing it to target Java 8.

Regards,
Tim

> On Sat, Jul 23, 2016 at 6:49 PM, Tim Ellison <[email protected]> wrote:
> 
>> On 23/07/16 23:03, Suneel Marthi wrote:
>>> yeah, wasn't sure if we wanted to retain some Java 7 compatibility.
>>>
>>> Maybe retain <maven.compiler.target> as 1.7 still.
>>
>> What do you mean?  Upgrade and enforce Java 8, but only use Java 7
>> features?
>>
>> Regards,
>> Tim
>>
>>
>>> On Sat, Jul 23, 2016 at 6:00 PM, Tim Ellison <[email protected]>
>> wrote:
>>>
>>>> On 23/07/16 03:54, smarthi wrote:
>>>>> Github user smarthi commented on the issue:
>>>>>
>>>>>     https://github.com/apache/incubator-pirk/pull/19
>>>>>
>>>>>     This is good to merge now. It enforces Java 8 and Maven 3.3.9 as
>>>> also RAT checks for license headers.
>>>>
>>>> Looks like there are still some vestiges of Java 7 in the pom.xml(s)
>>>> <properties>.  Presumably these should be fixed under this JIRA too.
>>>>
>>>>   <properties>
>>>>     <maven.compiler.source>1.7</maven.compiler.source>
>>>>     <maven.compiler.target>1.7</maven.compiler.target>
>>>>     <javac.target>1.7</javac.target>
>>>>   </properties>
>>>>
>>>> Regards,
>>>> Tim
>>>>
>>>
>>
> 

Reply via email to