Replies: 2 comments 2 replies
-
There are 2 ways for this to work:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I'm asking mostly out of curiosity: is it expected that Java 17 code only compiles when maven/tycho is running on a JDK 17?
My intuition would have been that
BREE
, ManifestJavaSE-17
and setting the execution environment in the target platform toJavaSE-17
is enough. However, as soon as we use actual additions from the 17 runtime library (likeList.toStream()
) the compiler starts complaining. The compile errors vanish as soon as tycho itself runs on a JDK 17.Maybe my expectations are just wrong? Otherwise, I'd open an issue.
P.S. I've tested Tycho versions 2.6.0 and 2.7.1
Beta Was this translation helpful? Give feedback.
All reactions