JDK9, power mockito 2.0.0-beta.5 - final class issue when mocking static method #888
I have a test that used to run fine in PowerMockito 1.7.1, since moving to java 9 and 2.0.0-beta.5 I am seeing issues with the same test.
I have a reproduction scenario:
I am seeing the following error on running the test:
I know that 2.0.0-beta.5 resolved a lot of these, did one slip through the cracks or has the approach changed for these kind of mocks between the two versions?
The text was updated successfully, but these errors were encountered:
@thekingnothing - The PR which listed as fixing this was, in fact, fixing a different problem. It was resolving the line, from above:
However, the title clearly states that the issue is the
Can this bug be reopened? I'm still encountering this with