You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2016/07/21 15:05:20 UTC

[jira] [Comment Edited] (NIFI-1730) org/apache/nifi/util/ReflectionUtils.java (and possibly other classes) exist in two different modules under the same FQN

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

Joseph Witt edited comment on NIFI-1730 at 7/21/16 3:04 PM:
------------------------------------------------------------

I don't think this is worth addressing right now.  However, in doing NIFI-1373 which is import for 1.0.0 we'll leverage Apache Yetus annotations to articulate that these are in no way part of any public api and thus we should be free to alter them as needed when needed.


was (Author: joewitt):
I don't think this is worth addressing right now.  However, in doing NIFI-1730 which is import for 1.0.0 we'll leverage Apache Yetus annotations to articulate that these are in no way part of any public api and thus we should be free to alter them as needed when needed.

> 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
>
> _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)