[ 
https://issues.apache.org/jira/browse/GEODE-10134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511998#comment-17511998
 ] 

ASF subversion and git services commented on GEODE-10134:
---------------------------------------------------------

Commit ae25733028c73ff0b18c428adbbe6a0da429f6bc in geode's branch 
refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ae25733 ]

GEODE-10134: Add JDK 17 proxy classes to serialization accept list (#7480)

Jar deployment serializes proxies. JDK 17 creates proxy classes in
dynamically created packages with names like `jdk.proxy2` and
`jdk.proxy3`.

> 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
>
> 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)

Reply via email to