You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/07 17:48:17 UTC
[GitHub] [arrow] lidavidm commented on a diff in pull request #14066: ARROW-17604: [Docs][Java] Make it more obvious that --add-opens is required
lidavidm commented on code in PR #14066:
URL: https://github.com/apache/arrow/pull/14066#discussion_r965123170
##########
java/memory/memory-core/pom.xml:
##########
@@ -37,4 +37,58 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+
+ <configuration>
+ <excludes>
+ <!-- Test is only useful when NOT running with add-opens -->
+ <exclude>**/TestOpens.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>opens-tests</id>
+ <!-- Run tests WITHOUT add-opens to make sure we fail-fast -->
+ <activation>
+ <jdk>[9,]</jdk>
Review Comment:
This may only apply from Java 16+/JEP396: https://openjdk.org/jeps/396
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org