[ 
https://issues.apache.org/jira/browse/NIFI-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333757#comment-15333757
 ] 

Oleg Zhurakousky commented on NIFI-1730:
----------------------------------------

Just to continue to document. . . .
This is now starting to hurt as two classes began to diverge significantly. For 
example: 
{code}
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
 
{code}
has been removed from 
https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/ReflectionUtils.java
 which causes breaking changes in existing work (e.g., NiFi-1690)

> 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: 1.0.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)

Reply via email to