feat(java): support graalvm copy#1813
feat(java): support graalvm copy#1813zhaommmmomo wants to merge 3 commits intoapache:mainfrom zhaommmmomo:feat/support_graalvm_copy
Conversation
|
Could we add some unit tests in graalvm_tests module? Maybe we could construct some complex objects in |
No problem. I haven't seen the graalvm_tests module before, so I wrote a temporary module test locally |
I want to confirm that graalvm copy, which mainly means that the Because I noticed that there are some errors when executing the |
Could you share your unit test code here? This should not happen, we generated all code at graalvm build time. Do you init Fury and register all serializers in a static scope? |
|
@zhaommmmomo Could you push your test code? I will give it a try. And which graalvm JDK are you using? |
Fury version: 0.8.0-SNAPSHOT Test code: org.apache.fury.graalvm.Main#main CMD: mvn -DskipTests=true -Pnative package |
|
Hello,
I am using a custom GraalVM build based on OpenJDK 21 |
|
Hi @zhaommmmomo @mbasso , I fixed graalvm support in #1845. Please give it a try, it should work now. |
## What does this PR do? - Support graalvm 17/21/22 - Add ci for Fury graalvm 17/22 support ## Related issues #1813 ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fury/issues/new/choose) describing the need to do so and update the document if necessary. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. -->
|
Hi @chaokunyang, |






What does this PR do?
support graalvm copy
Related issues
#1742
#1679
Does this PR introduce any user-facing change?
Benchmark