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

Oleg Chubaryov updated SAMZA-1009:
----------------------------------
    Description: 
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?

  was:
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


> 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)

Reply via email to