geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiaojian zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-3886) PdxInstanceFactoryImpl should pass a pdxRegistry as parameter in newCreator
Date Fri, 20 Oct 2017 22:45:00 GMT
xiaojian zhou created GEODE-3886:
------------------------------------

             Summary: PdxInstanceFactoryImpl should pass a pdxRegistry as parameter in newCreator
                 Key: GEODE-3886
                 URL: https://issues.apache.org/jira/browse/GEODE-3886
             Project: Geode
          Issue Type: Bug
            Reporter: xiaojian zhou


Currently, there're a lot of calling of PdxInstanceFactoryImpl.newCreator(name, expectDomainClass).
Inside the method it will get InternalCache's instance, then call getForPdx(). If cache not
exist, it will throw CacheClosedException. 

This is bad coding. The pdxRegistry should be got before calling the method. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message