[ https://issues.apache.org/jira/browse/GEODE-9467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider updated GEODE-9467: ------------------------------------ Description: 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. was: 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://stackoverflow.com/questions/41265266/how-to-solve-inaccessibleobjectexception-unable-to-make-member-accessible-m).] The call is made in org.apache.geode.pdx.internal.AutoSerializableManager#getClassInfo and is required for the auto serializer to function correctly. > 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 > Priority: Major > Labels: Java16 > > 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.3.4#803005)