Issue 935: Issue 915: Part 3 - Make circe-checksum module work for both java 8 and java 9#937
Issue 935: Issue 915: Part 3 - Make circe-checksum module work for both java 8 and java 9#937sijie wants to merge 6 commits intoapache:masterfrom
Conversation
- add circe into notice files
…th java 8 and java 9 - switch from jmockit to mockito, and from testng to junit. make testing and mocking framework consistent across modules. - skip `-Werror` check in circe-checksum since `finalize` is deprecated at java 9 - change CRC32CDigestManager to use `circe-checksum` module - fix shading to include `circe-checksum`
|
@sijie what is the benefit of this change? |
|
is your question for benefits of moving pulsar-checksum to bookkeeper? or benefits of making it run with java8 and java9? for "benefits of moving pulsar-checksum to bookkeeper": since pulsar depends on bookkeeper, this module is used for both bookkeeper and pulsar, it is making sense for pushing this module down to bookkeeper, so it doesn't have recursive dependency. for "benefits of making it run with java8 and java9": currently the CI validates the builds at both java9 and java8. I need to make changes to make this checksum module can be compiled and run at both java9 and java8. Hope this explains your question here. |
|
retest this please |
|
Merging this change is blocked by #952. Because nar/g++ doesn't work when CI workspace path contains spaces. |
|
both java8 and java9 can compile now with separated ci jobs (added by #953). |
Descriptions of the changes in this PR: *Problem* When using a matrix job to define a CI job running on both java 9 and java 8, the workspace file path will be added with "jdk name" (e.g. "JDK 1.8 latest" and "JDK 9 latest"). This will cause file paths contain spaces, and fail the builds. for example, #879 #880 is one of the examples. #937 can't pass ci because g++ fails when the file path contains spaces. *Solution* Splitting the matrix job into two separate jobs suffixed with "java8" and "java9", so it won't contains any space in workspace. Author: Sijie Guo <sijie@apache.org> Reviewers: Enrico Olivelli <eolivelli@gmail.com> This closes #953 from sijie/separate_jdk_cis, closes #952
Descriptions of the changes in this PR:
This change is based #917 . Gitsha 73049f8 contains the changes to make circe-checksum module work for both java8 and java9.