[
https://issues.apache.org/jira/browse/DRILL-8113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544129#comment-17544129
]
ASF GitHub Bot commented on DRILL-8113:
---------------------------------------
jnturton commented on code in PR #2565:
URL: https://github.com/apache/drill/pull/2565#discussion_r885206059
##########
pom.xml:
##########
@@ -3988,13 +3988,13 @@
<jdk>[9,)</jdk>
</activation>
<properties>
+ <maven.compiler.release>8</maven.compiler.release>
<junit.args>
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
- --add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED
Review Comment:
@vvysotskyi the module opening lines here are only arguments passed to
JUnit, so do you think that if all the unit tests are happy when running in JDK
17 then we are covered here?
> Support building with a JDK 8 target using newer JDKs
> -----------------------------------------------------
>
> Key: DRILL-8113
> URL: https://issues.apache.org/jira/browse/DRILL-8113
> Project: Apache Drill
> Issue Type: Improvement
> Components: Tools, Build & Test
> Affects Versions: 1.19.0
> Reporter: James Turton
> Assignee: James Turton
> Priority: Trivial
> Fix For: 1.20.2
>
>
> Currently, adding
>
> {code:java}
> <maven.compiler.release>8</maven.compiler.release>{code}
>
> to pom.xml in order to build Drill for JDK 8 under JDK 11 will produce build
> errors relating to the package {{{}sun.security.jgss{}}}. This should be
> rectified.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)