Skip to content

Commit 6b18c5a

Browse files
committed
Add note on compiler errors in readme
Unsafe is funny
1 parent b6a4e0c commit 6b18c5a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,11 @@ implementation group: 'software.coley', name: 'lljzip', version: zipVersion
5050
implementation "software.coley:lljzip:${zipVersion}"
5151
```
5252

53-
For example usage see the [tests](src/test/java/software/coley/lljzip).
53+
For example usage see the [tests](src/test/java/software/coley/lljzip).
54+
55+
## Building
56+
57+
Due to some `sun.misc.Unsafe` hacks _(For performance and long addressing)_, you will get compiler warnings when first opening the project in IntelliJ.
58+
You can resolve this by changing the compiler target:
59+
60+
![intellij compiler settings](docs/compiler-settings.png)

docs/compiler-settings.png

19.4 KB
Loading

0 commit comments

Comments
 (0)