[ https://issues.apache.org/jira/browse/NIFI-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227294#comment-15227294 ]
Oleg Zhurakousky commented on NIFI-1730: ---------------------------------------- This is going to be a bit more complex then just moving pieces around since ReflectionUtils depends on ProcessLog and I don't see yet how we can do it without introducing breaking changes. So, I propose to first deprecate them now ASAP (both) and restructure it for 1.0. We also have ReflectionUtils in documentation, although FQN is different. > org/apache/nifi/util/ReflectionUtils.java (and possibly other classes) exist > in two different modules under the same FQN > ------------------------------------------------------------------------------------------------------------------------ > > Key: NIFI-1730 > URL: https://issues.apache.org/jira/browse/NIFI-1730 > Project: Apache NiFi > Issue Type: Bug > Reporter: Oleg Zhurakousky > Assignee: Oleg Zhurakousky > Fix For: 0.7.0 > > > _org/apache/nifi/util/ReflectionUtils.java_ specifically exists in _framework > core_ and _mock_ under the same FQN (see below) > * > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/ReflectionUtils.java > * > https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/ReflectionUtils.java > This means that if the two versions are not identical one can start seeing > something along the lines of this: > {code} > java.lang.NoSuchMethodError: > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)