Skip to content

Commit

Permalink
CNDB-11508: Enables access to FileTime private field
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tiagomlalves authored and ekaterinadimitrova2 committed Nov 8, 2024
1 parent 60053e1 commit 889f389
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@
<string>--add-opens java.base/java.lang=ALL-UNNAMED</string>
<string>--add-opens java.base/java.util=ALL-UNNAMED</string>
<string>--add-opens java.base/java.nio=ALL-UNNAMED</string>
<string>--add-opens java.base/java.nio.file.attribute=ALL-UNNAMED</string>

<string>--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED</string>
</resources>
Expand Down

0 comments on commit 889f389

Please sign in to comment.