You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/01/23 01:34:34 UTC
[jira] [Commented] (ACCUMULO-1844) Tests to ensure that Main's
classnames exist
[ https://issues.apache.org/jira/browse/ACCUMULO-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288498#comment-14288498 ]
Christopher Tubbs commented on ACCUMULO-1844:
---------------------------------------------
ACCUMULO-3514 will supersede this issue, because it will remove the string literal class names.
> Tests to ensure that Main's classnames exist
> --------------------------------------------
>
> Key: ACCUMULO-1844
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1844
> Project: Accumulo
> Issue Type: Improvement
> Components: start, test
> Reporter: Josh Elser
> Labels: newbie
>
> The Main class, in accumulo-start, references a number of classes to handle the command line arguments to the accumulo shell script.
> However, since start can't depend on the other modules, it must use String representations of these classes.
> This is very brittle and, if those classes move, we have no knowledge of this breakage until runtime.
> We should have something later in the build that will enumerate the arguments to Main to ensure that we don't get a NoClassDefFound error at runtime due to a moved class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)