You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2018/03/16 19:49:00 UTC

[jira] [Closed] (GEODE-4754) remove com.sun.proxy from the serialization white-list

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

Bruce Schuchardt closed GEODE-4754.
-----------------------------------

> remove com.sun.proxy from the serialization white-list
> ------------------------------------------------------
>
>                 Key: GEODE-4754
>                 URL: https://issues.apache.org/jira/browse/GEODE-4754
>             Project: Geode
>          Issue Type: Bug
>          Components: serialization
>            Reporter: Bruce Schuchardt
>            Priority: Major
>
> Someone added com.sun.proxy.* to the serialization whitelist in InternalDataSerializer.  It looks like it was part of the jar deployer work that introduced RMIIO.  We should remove this from the whitelist.
> I removed it and ran precheckin, and found that only one test, LuceneIndexCommandsDUnitTest.searchShouldReturnCorrectResults, failed.  That test was using as cache values instances of an inner class.  That caused the whole test instance to be serialized and put in the cache, including instances of VM.  These are RMI stubs that reference com.sun.proxy.Proxy instances.  Changing the value class to be static will make it pass without needing com.sun.proxy to be whitelisted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)