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

Imported: Make Peass runnable with Java 16 #45

Open
DaGeRe opened this issue Nov 15, 2021 · 1 comment
Open

Imported: Make Peass runnable with Java 16 #45

DaGeRe opened this issue Nov 15, 2021 · 1 comment
Assignees

Comments

@DaGeRe
Copy link
Owner

DaGeRe commented Nov 15, 2021

This issue has been imported from an old repository. It was originally created by @DaGeRe at 2021-10-18T08:42:12Z with number #45

Since the update to Java 16, powermock does not work anymore: https://github.com/DaGeRe/peass/actions/runs/1351543388 This should be fixed

@DaGeRe
Copy link
Owner Author

DaGeRe commented Nov 15, 2021

This comment has been imported from an old repository. It was originally created by @DaGeRe at 2021-10-20T13:59:55Z

For most of the cases, PowerMock could be replaced by mockito-inline, but for TestParallelMeasurement, which uses a part of Peass which starts new threads, this is not easily possible.

Like pointed out in https://stackoverflow.com/questions/68088576/using-powermock-in-jdk-16, I activated --illegal-access=permit.

@DaGeRe DaGeRe self-assigned this Nov 15, 2021
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

No branches or pull requests

1 participant