You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "jstewmon (via GitHub)" <gi...@apache.org> on 2026/01/23 05:47:23 UTC
[I] Update supported java versions [incubator-kie-drools]
jstewmon opened a new issue, #6561:
URL: https://github.com/apache/incubator-kie-drools/issues/6561
Hi, I was wondering if there are any plans to update the java versions supported by the compiler? It seems deceptively easy to add support for newer versions, but I suppose the explicit list of supported versions exists b/c there are additional considerations?
I was trying to update a project that builds an executable model kjar to Java 21, and it seemed like I had to set `maven.compiler.release` to `19` to get it to build b/c the inferred JDK version was 11. So, while I was able to get the project to compile, I was unable to use Java 21 language features in Java code in the same module as my DRL sources.
https://github.com/apache/incubator-kie-drools/blob/fe6decc777e02e22a40e822dd56738c553396f5a/kie-memory-compiler/src/main/java/org/kie/memorycompiler/JavaConfiguration.java#L43
https://github.com/apache/incubator-kie-drools/blob/fe6decc777e02e22a40e822dd56738c553396f5a/kie-memory-compiler/src/main/java/org/kie/memorycompiler/JavaConfiguration.java#L88-L114
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Update supported java versions > 19 [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed issue #6561: Update supported java versions > 19
URL: https://github.com/apache/incubator-kie-drools/issues/6561
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Update supported java versions > 19 [incubator-kie-drools]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #6561:
URL: https://github.com/apache/incubator-kie-drools/issues/6561#issuecomment-3798566248
THanks @tkobayas
While you're at it, maybe it would be nice to refactor a bit the overall implementation, since currently it (ouch) requires the definition of the same set of values (the language levels) in two different places:
1. [property definition](https://github.com/apache/incubator-kie-drools/blob/fe6decc777e02e22a40e822dd56738c553396f5a/kie-memory-compiler/src/main/java/org/kie/memorycompiler/JavaConfiguration.java#L43)
2. `if` [evaluation](https://github.com/apache/incubator-kie-drools/blob/fe6decc777e02e22a40e822dd56738c553396f5a/kie-memory-compiler/src/main/java/org/kie/memorycompiler/JavaConfiguration.java#L88)
Side-note: the values returned by the `if` evaluation are not taken from the property, and this introduce another potential point of error
Thanks again, please let me know if my suggestion is clear!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Update supported java versions > 19 [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #6561:
URL: https://github.com/apache/incubator-kie-drools/issues/6561#issuecomment-3834251175
Done by https://github.com/apache/incubator-kie-drools/pull/6569
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Update supported java versions > 19 [incubator-kie-drools]
Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on issue #6561:
URL: https://github.com/apache/incubator-kie-drools/issues/6561#issuecomment-3789410023
Hi @jstewmon thank you for raising that point, you're right we need to update those.
@gitgabrio @tkobayas @mariofusco
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Update supported java versions > 19 [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #6561:
URL: https://github.com/apache/incubator-kie-drools/issues/6561#issuecomment-3798490955
I'm looking at this issue.
This requires changes in several places including eclipse ecj update (https://github.com/apache/incubator-kie-drools/issues/6551). I hope I'll be able to raise a PR soon.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org