[ 
https://issues.apache.org/jira/browse/IGNITE-22381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850944#comment-17850944
 ] 

Aleksey Plekhanov commented on IGNITE-22381:
--------------------------------------------

[~serge.korotkov], [~nshakarov], [~anovikov] can you please have a look.

Changes have been made:
 * Moved {{gatling-ext}} module under {{java-11+}} profile (some dependencies 
of this module compiled with java-11 and can't be recognized by java-8).
 * For {{java-11+}} profile target compiler version is set to 11 (the same we 
have for the parent {{ignite}} project, even if we try to compile with 1.8 
target, compiled classes still can't be used by java-8, but {{target=1.8}} or 
{{release=1.8}} brokes usage of {{{}add-opens{}}}).
 * Gatling maven plugin execution is disabled when {{-DskipTest}} or 
{{-Dmaven.test.skip=true}} parameters are passed to maven (currently, this 
plugin always executed on test phase, even if we disable tests explicitely).
 * Options {{--add-opens}} also added to {{java-11+}} (They are not mandatory 
for java-11, but they remove warnings about reflection usage).

Tested compilation locally on java8, java11, java17 (unfortunately java21 
compilation still not working due to some {{spark-ext}} problems).

Tested with  {{-DskipTest}} and {{-Dmaven.test.skip=true}} JVM options.

Started tests on both team-city servers.

> Extensions:  Broken compilation by java8, java11
> ------------------------------------------------
>
>                 Key: IGNITE-22381
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22381
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>
> Compilation on java8 is broken by IGNITE-21679
> Compilation on java11 is broken by IGNITE-22077



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to