-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
build: Switch from JMockit to Mockito & build target to Java 11 #6922
Conversation
@jeremylong you may want to release a 10.x bugfix with the latest changes since 10.0.3 before integrating as this PR also switches minimum java version used at runtime to Java 11. |
There will be other breaking changes in 11.0 - so yes, I was planning on another release before merging the breaking changes. |
Created a new 10.0.4 milestone and re-targeted the already merged PRs to that milestone, so that the 11.0.0 milestone now only has the unmerged, breaking, changes allocated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…sting.jmockit.JMockitToMockito
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes Issue #6809
Description of Change
Change mocking in the testcases from JMockit ot Mockito and update the compiler-target to Java 11.
Because of the bump in required Java version also updated the version to the next major as from this change onward Java 11 will be required to run DependencyCheck (some of the mocking required Mockito 5 which also requires Java 11)
One testcase, that was already dynamically disabled on Java 8 has been removed now, as I could not find a way to return it to operational state.
Have test cases been added to cover the new functionality?
No new functionality, only a replacement of a mocking framework in the test cases and a bump in Java version