[ https://issues.apache.org/jira/browse/FLINK-32379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735264#comment-17735264 ]
Chesnay Schepler edited comment on FLINK-32379 at 6/20/23 12:15 PM: -------------------------------------------------------------------- The simple solution could be to annotate the architecture tests with {{@FailsOnJava11/17}}; I'd hope that this works with archunit. was (Author: zentol): The simple colution would be to annotate the architecture tests with {{@FailsOnJava11/17}}; I'd hope that this works with archunit. > Skip archunit tests in java1X-target profiles > --------------------------------------------- > > Key: FLINK-32379 > URL: https://issues.apache.org/jira/browse/FLINK-32379 > Project: Flink > Issue Type: Technical Debt > Components: Build System > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Major > Fix For: 1.18.0 > > > When compiling to Java 11/17 byte code archunit fails; not sure why. Maybe it > finds more/less stuff or signatures are represented differently. > In any case let's use the Java 8 bytecode version as the "canonical" version > and skip archunit otherwise. -- This message was sent by Atlassian Jira (v8.20.10#820010)