You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/02/12 05:03:20 UTC
[jira] [Commented] (ACCUMULO-2356) Remove static block from
AccumuloDFSBase
[ https://issues.apache.org/jira/browse/ACCUMULO-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898757#comment-13898757 ]
ASF subversion and git services commented on ACCUMULO-2356:
-----------------------------------------------------------
Commit 8d94812cb7c15bc13e93a148573c58357120d7df in branch refs/heads/1.5.1-SNAPSHOT from [~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=8d94812 ]
ACCUMULO-2356 Remove terrible static blocks and use BeforeClass annotations.
> Remove static block from AccumuloDFSBase
> ----------------------------------------
>
> Key: ACCUMULO-2356
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2356
> Project: Accumulo
> Issue Type: Test
> Components: test
> Affects Versions: 1.5.0
> Reporter: Josh Elser
> Assignee: Josh Elser
> Fix For: 1.5.1, 1.6.0
>
>
> AccumuloDFSBase have this static initializer block which has the terrible sideeffect of not failing nicely in the test, but instead just throwing a NoClassDefFoundException.
> It should be moved to a static method with a BeforeClass annotation.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)