You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (Jira)" <ji...@apache.org> on 2021/07/27 22:32:00 UTC

[jira] [Updated] (GEODE-9470) Some geode queries will fail on java 16 and later

     [ https://issues.apache.org/jira/browse/GEODE-9470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darrel Schneider updated GEODE-9470:
------------------------------------
    Labels: Java16  (was: )

> Some geode queries will fail on java 16 and later
> -------------------------------------------------
>
>                 Key: GEODE-9470
>                 URL: https://issues.apache.org/jira/browse/GEODE-9470
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Darrel Schneider
>            Priority: Major
>              Labels: Java16
>
> In some cases a geode query uses reflection to read a field or call a function.
> If that happens on java 16 then the query will fail throwing a RuntimeException that is an instance of java.lang.reflect.InaccessibleObjectException. See: https://softwaregarden.dev/en/posts/new-java/illegal-access-in-java-16.
> To workaround this failure set the JVM command line option: --illegal-access=permit
> The query code that calls setAccessible is in two places:
> org.apache.geode.cache.query.internal.AttributeDescriptor#getReadMember
> org.apache.geode.cache.query.internal.MethodDispatch#MethodDispatch



--
This message was sent by Atlassian Jira
(v8.3.4#803005)