Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graalvm doesn't support -Xlint:-this-escape #11268

Closed
wants to merge 1 commit into from

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented May 2, 2024

Fixes #11267

@zeitlinger zeitlinger added the test native This label can be applied to PRs to trigger them to run native tests label May 2, 2024
@zeitlinger zeitlinger self-assigned this May 2, 2024
@zeitlinger zeitlinger requested a review from a team May 2, 2024 10:18
@@ -80,7 +80,8 @@ tasks.withType<JavaCompile>().configureEach {
)
)
val defaultJavaVersion = otelJava.maxJavaVersionSupported.getOrElse(DEFAULT_JAVA_VERSION).majorVersion.toInt()
if (Math.max(otelJava.minJavaVersionSupported.get().majorVersion.toInt(), defaultJavaVersion) >= 21) {
if (Math.max(otelJava.minJavaVersionSupported.get().majorVersion.toInt(), defaultJavaVersion) >= 21 &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt that this is the best way to fix this. My guess would be that this can be fixed with changing graal to use java 21 in

If that does not work then I'd try limiting java version to 17 with

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me try 😄

@zeitlinger zeitlinger force-pushed the fix-graalvm-build branch from 8c9c084 to 34ebc12 Compare May 2, 2024 11:31
@zeitlinger zeitlinger closed this May 2, 2024
@zeitlinger zeitlinger deleted the fix-graalvm-build branch May 2, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test native This label can be applied to PRs to trigger them to run native tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow failed: Daily GraalVM native tests (#355)
2 participants