You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ernest Burghardt (Jira)" <ji...@apache.org> on 2022/05/09 16:39:00 UTC
[jira] [Assigned] (GEODE-9467) pdx ReflectionBasedAutoSerializer will fail on java 16 and later
[ https://issues.apache.org/jira/browse/GEODE-9467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernest Burghardt reassigned GEODE-9467:
---------------------------------------
Assignee: Ernest Burghardt
> pdx ReflectionBasedAutoSerializer will fail on java 16 and later
> ----------------------------------------------------------------
>
> Key: GEODE-9467
> URL: https://issues.apache.org/jira/browse/GEODE-9467
> Project: Geode
> Issue Type: Bug
> Components: serialization
> Reporter: Darrel Schneider
> Assignee: Ernest Burghardt
> Priority: Major
> Labels: Java16, Java17
>
> The pdx ReflectionBasedAutoSerializer will not work on java 16 and later because it calls Field.setAccessible which is not allowed under normal conditions starting with java 16 (see: [https://softwaregarden.dev/en/posts/new-java/illegal-access-in-java-16|https://softwaregarden.dev/en/posts/new-java/illegal-access-in-java-16/] [).|https://stackoverflow.com/questions/41265266/how-to-solve-inaccessibleobjectexception-unable-to-make-member-accessible-m).]
> To workaround this failure set the JVM command line option: --illegal-access=permit
> The call is made in org.apache.geode.pdx.internal.AutoSerializableManager#getClassInfo and is required for the auto serializer to function correctly.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)