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

test failures in Java 17 #648

Open
keturn opened this issue Aug 4, 2021 · 1 comment
Open

test failures in Java 17 #648

keturn opened this issue Aug 4, 2021 · 1 comment
Labels
Topic: Tests/QA Testing and quality assurance topics.

Comments

@keturn
Copy link
Member

keturn commented Aug 4, 2021

Running unit tests under Java ≥ 16 results in lots of tests not being able to start, some permissions errors about things from one package that aren't open to another.

Possible workaround: See Java migration guide on Illegal Reflective Access, notes --add-exports and --add-opens options.

@keturn keturn added the Topic: Tests/QA Testing and quality assurance topics. label Aug 4, 2021
@keturn
Copy link
Member Author

keturn commented Aug 4, 2021

Haven't determined if this is something that can be fixed with a configuration option or permission tweak somewhere, or if the spf4j-slf4j-test setup is relying on some deprecated aspect of java that was finally removed in Java 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Tests/QA Testing and quality assurance topics.
Projects
None yet
Development

No branches or pull requests

1 participant