You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:04 UTC
[jira] [Closed] (GEODE-10134) SanctionedSerializablesFilterPattern does not accept proxy classes on JDK 17
[ https://issues.apache.org/jira/browse/GEODE-10134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-10134.
--------------------------------
> 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
> Assignee: Dale Emery
> Priority: Major
> Labels: Java17, pull-request-available
> Fix For: 1.15.0
>
>
> 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.7#820007)