You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2016/09/01 22:56:20 UTC

[jira] [Resolved] (SAMZA-1009) Code won't compile in IDE with Java8

     [ https://issues.apache.org/jira/browse/SAMZA-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Pan (Data Infrastructure) resolved SAMZA-1009.
-------------------------------------------------
    Resolution: Won't Fix

> Code won't compile in IDE with Java8
> ------------------------------------
>
>                 Key: SAMZA-1009
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1009
>             Project: Samza
>          Issue Type: Wish
>          Components: build
>    Affects Versions: 0.11
>         Environment: Eclipse
> JDK8
>            Reporter: Oleg Chubaryov
>            Priority: Minor
>
> Java source compliance version isn't defined in build-scripts.
> Therefore after "gradle eclipse" it tries to use my default version defined in Eclipse. But actual source-code isn't compatible with java8. For instance I had a compilation error in org.apache.samza.container.RunLoopFactory:
> line 64:
> "The method values() is ambiguous for the type Map<TaskName,TaskInstance<?>>"
> unless I've switched Compiler Compliance level to 1.7
> Is it possible to define Source Compliance level in gradle scripts for correct compilation inside Eclipse?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)