Skip to content

[FLINK-2544] Add Java 8 version for building PowerMock tests to docs#1882

Closed
skavulya wants to merge 1 commit intoapache:masterfrom
skavulya:update-readme
Closed

[FLINK-2544] Add Java 8 version for building PowerMock tests to docs#1882
skavulya wants to merge 1 commit intoapache:masterfrom
skavulya:update-readme

Conversation

@skavulya
Copy link
Contributor

Java 8 update 11 introduced a stricter bytecode verifier that leads to failures in unit tests that use the PowerMock runner. The tests run correctly in Java 8u51 or above. This PR updates the README with a note about the Java versions needed to run unit tests that use the PowerMock runner.

Java 8 update 11 introduced a stricter bytecode verifier that leads
to failures in unit tests that use the PowerMock runner. The tests
run correctly in Java 8u51 or above.
@fhueske
Copy link
Contributor

fhueske commented Apr 14, 2016

Thanks for the fix, @skavulya!
Looks good to merge.

@fhueske
Copy link
Contributor

fhueske commented Apr 15, 2016

Will merge this PR.

fhueske pushed a commit to fhueske/flink that referenced this pull request Apr 15, 2016
…o docs

Java 8 update 11 introduced a stricter bytecode verifier that leads
to failures in unit tests that use the PowerMock runner. The tests
run correctly in Java 8u51 or above.

This closes apache#1882
@StephanEwen
Copy link
Contributor

As a followup, could we add some "Assume" statements in the tests that check whether the Java version is either Java 7 or Java 8u51+ ?

@asfgit asfgit closed this in d938c5f Apr 15, 2016
@skavulya
Copy link
Contributor Author

@StephanEwen Adding "Assume" statements is a good idea. We could limit them to the affected tests.

kl0u pushed a commit to kl0u/flink that referenced this pull request Apr 29, 2016
…o docs

Java 8 update 11 introduced a stricter bytecode verifier that leads
to failures in unit tests that use the PowerMock runner. The tests
run correctly in Java 8u51 or above.

This closes apache#1882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants