You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (Jira)" <ji...@apache.org> on 2022/03/17 20:17:00 UTC

[jira] [Created] (GEODE-10134) SanctionedSerializablesFilterPattern does not accept proxy classes on JDK 17

Dale Emery created GEODE-10134:
----------------------------------

             Summary: SanctionedSerializablesFilterPattern does not accept proxy classes on JDK 17
                 Key: GEODE-10134
                 URL: https://issues.apache.org/jira/browse/GEODE-10134
             Project: Geode
          Issue Type: Improvement
          Components: serialization
    Affects Versions: 1.15.0
            Reporter: Dale Emery


On JDK 17, the classes of proxies are created in dynamically created packages. The current implemention of {{SanctionedSerializablesFilterPattern}} does not recognize those packages, and so rejects all proxy objects.

So far I've seen two dynamically created proxy packages:
- {{jdk.proxy2}}
- {{jdk.proxy3}}

Adding {{"jdk.proxy*"}} to the {{SanctionedSerializablesFilterPattern}} fixes the problem, at the risk of accepting an overly broad set of classes.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)