Monday, October 30, 2023

Illegal reflective access in RPC serializer

Hi,

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 https://github.com/gwtproject/gwt/issues/9584 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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/843a1666-9ac3-49d7-9ef9-2b8681b3653an%40googlegroups.com.

No comments:

Post a Comment