This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new b167580b9 add idea jdk11 usage config
b167580b9 is described below
commit b167580b940d48184f10f8192551b08d6fc56ce1
Author: chaokunyang <[email protected]>
AuthorDate: Wed Sep 3 11:38:18 2025 +0800
add idea jdk11 usage config
---
CONTRIBUTING.md | 18 ++++++++++++++++++
docs/guide/DEVELOPMENT.md | 4 ++++
docs/images/idea_jdk11.png | Bin 0 -> 295126 bytes
3 files changed, 22 insertions(+)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 854a55cf6..3b95d986c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -196,6 +196,20 @@ sudo flamegraph.pl out.folded > out.svg
bazel run :refresh_compile_commands
```
+## How to use Jetbrains IDEA IDE for Java Development
+
+Apache Fory Java development is based on Java 11+, and different modules are
built with different Java versions.
+
+For example, the `fory-core` module is built with Java 8, and the
`fory-format` module is built with Java 11.
+
+To use Jetbrains IDEA IDE for Java Development, you need to configure the
project SDK and module SDK to using JDK 11+.
+
+And due to the usage of `sun.misc.Unsafe` API, which is not visible in Java
11+, you need to configure java compiler with `--releaese` option disabled.
+
+<div align="center">
+ <img width="65%" alt="" src="docs/images/idea_jdk11.png"><br>
+</div>
+
## Website
Fory's website consists of static pages hosted at
https://github.com/apache/fory-site.
@@ -203,3 +217,7 @@ Fory's website consists of static pages hosted at
https://github.com/apache/fory
All updates about docs under [guide](docs/guide) and
[benchmarks](docs/benchmarks) will be synced to the site repo automatically.
If you want write a blog, or update other contents about the website, please
submit PR to the site repo.
+
+## Development
+
+For more information, please refer to [Development
Guide](https://fory.apache.org/docs/docs/guide/development).
diff --git a/docs/guide/DEVELOPMENT.md b/docs/guide/DEVELOPMENT.md
index 0379d9f64..226246371 100644
--- a/docs/guide/DEVELOPMENT.md
+++ b/docs/guide/DEVELOPMENT.md
@@ -135,3 +135,7 @@ prettier --write "**/*.md"
- node 14+
- npm 8+
+
+## Contributing
+
+For more information, please refer to [How to contribute to
Fory](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).
diff --git a/docs/images/idea_jdk11.png b/docs/images/idea_jdk11.png
new file mode 100644
index 000000000..c6f1f4a4f
Binary files /dev/null and b/docs/images/idea_jdk11.png differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]