From 889f389104d252ccc89f053f39ca610d78d99aa6 Mon Sep 17 00:00:00 2001 From: Tiago Alves Date: Fri, 27 Sep 2024 22:45:52 +0100 Subject: [PATCH] CNDB-11508: Enables access to FileTime private field When running tests with JDK17 we see NoClassDefFoundError when trying to instante org.apache.cassandra.Util class due caused by getSupportedMTimeGranularity trying to access a private field. This patch modified the build configuration to add a jvm option allowing that access. --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml index 989f17226e5c..fa1b99726036 100644 --- a/build.xml +++ b/build.xml @@ -304,6 +304,7 @@ --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED + --add-opens java.base/java.nio.file.attribute=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED