[ https://issues.apache.org/jira/browse/OAK-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli resolved OAK-3471. ------------------------------ Resolution: Fixed done in http://svn.apache.org/viewvc?rev=1706775&view=rev > Avoid reflection in DocumentDiscoveryLiteServiceTest > ---------------------------------------------------- > > Key: OAK-3471 > URL: https://issues.apache.org/jira/browse/OAK-3471 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core > Affects Versions: 1.3.7 > Reporter: Stefan Egli > Assignee: Stefan Egli > Fix For: 1.3.8 > > Attachments: OAK-3471.patch > > > [DocumentDiscoveryLiteServiceTest.setFinalStatic|https://github.com/apache/jackrabbit-oak/blob/f173e50b6a9540da4cd135d892c48ea621f30ebe/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java#L605] > uses reflection to set a private static field. This was a very hacky way to > avoid having to refactor ClusterNodeInfo and move forward with > discovery-lite. To avoid unmaintainability, this should be replaced with a > better mechanism however. > /cc [~reschke] -- This message was sent by Atlassian JIRA (v6.3.4#6332)