Monday, October 30, 2023

Illegal reflective access in RPC serializer


Working with Java 21 I have some issues with RPC serializer causing illegal reflective access in LinkedHashMap_CustomFieldSerializer.

I see that this has been fixed in but the fix is not included in the 2.10 release as far as I can see.

The workaround is to use --add-opens but this basically open the full java.util package for reflection which is not ideal. I also tried to replace the custom serializer, but due to the way custom serializers are loaded (using the exact package name), this doesn't seems possible without compiling a custom jar.

Is there any plan to make a release that include the fix for this issue, either 2.11 or a path of the 2.10?

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment