You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2021/08/18 16:29:39 UTC

[datasketches-memory] 01/01: Add instructions for local MR-jar testing

This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch documentation-updates
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit b61e9162693bdbe5eefe81e2a6cf8c5a5756dd55
Author: David Cromberge <dc...@apache.org>
AuthorDate: Wed Aug 18 17:25:06 2021 +0100

    Add instructions for local MR-jar testing
    
    Verified that the C/I tests actually do make use of the `sun.nio.ch`
    package for memory-mapped files. Removing the runtime JPMS flag for
    this package from Surefire results in a warning, since the tests
    use the classpath and not the module path.  Using the module path
    in the tests would require a local `module-info.java` in the tests,
    which would present problems for Java8.
    
    Using Datasketches Memory for memory-mapped in a JPMS-enabled user
    application requires explicit opens access to the `sun.nio.ch` package
    otherwise the user application will exit with a hard failure instead
    of a warning.
---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 66943e2..a0442a2 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,10 @@ To run javadoc on this multi-module project, use:
 
     $ mvn clean process-classes javadoc:javadoc -DskipTests=true
 
+To run the CI tests against the multi-release JAR for specific JVM versions [9-13], use:
+
+    $ mvn clean package -Denvironment=ci -Dmatrix.jdk.version=9
+
 To run the eclipse plugin on this multi-module project, use:
 
     $ mvn clean process-classes eclipse:eclipse -DskipTests=true

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org