[
https://issues.apache.org/jira/browse/GEODE-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruce Schuchardt updated GEODE-4754:
------------------------------------
Issue Type: Bug (was: Task)
> 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)