Unable to serialize java.util.Collections$SingletonSet in native mode #28466
Labels
area/native-image
env/graalvm-java17
Relating to using GraalVM native generation Java 11
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
I am enabling
java.util.Collections$SingletonSet
for serialization fro an extension with:Expected behavior
Serialization of
SingletonSet
should work.Actual behavior
It fails with:
How to Reproduce?
create a new extension:
quarkus create extension myext
In the processor, implement:
Replace
MyExtResource
with:Execute:
mvn install -Pnative -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true
You see the exception:
Output of
uname -a
orver
Linux graalvmdev.dev.biz.lodh.com 3.10.0-1160.76.1.el7.x86_64 #1 SMP Tue Jul 26 14:15:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
17
GraalVM version (if different from Java)
22.2
Quarkus version or git rev
2.13.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: