Commit 92540f3
Document JDK 24+ native access requirements (#702)
Add documentation for JEP 472 native access requirements that affect
users running snappy-java on JDK 24 or later.
Since snappy-java uses JNI to load native libraries, applications
running on JDK 24+ must add the --enable-native-access=ALL-UNNAMED
JVM flag. Per JEP 472 guidance, this is the application developer's
responsibility (not the library's).
The new section includes:
- Clear explanation of the requirement
- Examples for Maven, Gradle, sbt, and command-line usage
- Warning message examples users will encounter
- Rationale based on JEP 472's "integrity by default" policy
No code changes are needed - this is purely documentation to help
users understand and address the warnings they see on JDK 24+.
Fixes #689
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent 31b0ca5 commit 92540f3
1 file changed
+57
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
66 | 123 | | |
67 | 124 | | |
68 | 125 | | |
| |||
0 commit comments