Hi Vladimir,
One more thing need to be mentioned. Source and target version of java is
determined by module pom file (I am not aware if it can be configured by
main/test scope).
This means tests that requires java 8 compile and target versions should be
placed in separate maven module. This may be done by creating standalone
module, in case of IGNITE-5483, e.g., sql-query-java8, and Run
Configuration which will run this module test will be configured to use
java 8.
Best Regards,
Dmitriy Pavlov
чт, 6 июл. 2017 г. в 12:30, Dmitry Pavlov <
[hidden email]>:
> Hi Vladimir,
>
>
>
> +1 from me, in addition we will be able to use java8 lambdas in test code.
>
> This make code shorter, and in the same time more expressive.
>
> Please involve me in this activity when it starts.
>
>
>
> Best Regards,
>
> Dmitriy Pavlov
>
>
> чт, 6 июл. 2017 г. в 11:21, Vladimir Ozerov <
[hidden email]>:
>
>> Igniters,
>>
>> We are still based on Java 7. However, a lot of our users already use Java
>> 8 and some of it's classes. As a result we cannot test certain scenarios.
>> For examples, there is a bug in *LocalDateTime* type handling [1]. This
>> class appeared in Java 8, so we cannot test it.
>>
>> Is it possible to move our tests to Java 8 (both complier and runtime),
>> while still sitting on Java 7 for non-test classes?
>>
>> Vladimir.
>>
>> [1]
https://issues.apache.org/jira/browse/IGNITE-5483>>
>