On 10.09.2020 22:27, Nathan Hartman wrote:
I'll try to get my system setup to run the JavaHL tests, which has been
on my to-do list for some time anyway. If I can get that to work and
verify the changes don't introduce regressions, then we'll go from there.
If I'm not missing something, macOS/Linux steps would be:
1) Download [1] JDK and extract it to some folder, for example
/home/user/Downloads/jdk. I have tested with versions 8 and 14, haven't
yet tried the newest version 15.
2) Download [2] JUnit and put .jar to some folder, for example
/home/user/Downloads/junit.
3) During 'configure' SVN build step, pass additional arguments:
--with-jdk=/home/user/Downloads/jdk
--with-junit=/home/user/Downloads/junit
--enable-javahl
4) Compile with:
make javahl
5) Run tests with:
make check-apache-javahl
Didn't try running tests on Windows yet.
Please note that with JDK14+, a JNI error becomes visible, which I
patched in [3].
[1] https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
[2] https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar
[3]
https://mail-archives.apache.org/mod_mbox/subversion-dev/202009.mbox/browser