Checkout
Branko ─îibej
committed
on 26 Jun 14
Add extra JNI checking to JavaHL test runs.
This really should have been enabled since forever.

* Makefile.in
(check-tigris-javahl, check… Show more
Add extra JNI checking to JavaHL test runs.

This really should have been enabled since forever.

* Makefile.in

 (check-tigris-javahl, check-apache-javahl, check-deprecated-authn-javahl):

  Add the -Xcheck:jni option to the JVM parameters.

* subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java

 (BasicTests.CountingProgressListener): New; similar to equivalent class

  in the org.apache... test suite.

 (BasicTests.testDataTransferProgressReport): Do not use an exception to

  notice that progress has been reported. This avoids an otherwise trivial

  warning by triggered the -Xcheck:jni option. The org.apache... test

  suite uses a similar workaround.

Show less