Skip to content

Fix build and test with modern compilers #69

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

louwers
Copy link

@louwers louwers commented Jun 5, 2025

I kept the code changes minimal and instead added some additional flags to ignore new warnings.

I replaced the existing CircleCI workflow with GitHub Actions, testing on all compilers available with the default Ubuntu 24.04 image.

image

@@ -19,7 +19,6 @@ public static void main(String[] args) {
System.out.println("2 + 2 = " + calculator.add(2, 2));
System.out.println("8 - 4 = " + calculator.subtract(8, 4));

// You wouldn't normally use this; it's here to show that the native finalizer does get executed.
System.runFinalizersOnExit(true);
Copy link
Author

@louwers louwers Jun 5, 2025

Choose a reason for hiding this comment

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

This is not available in modern Java versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant