Return-Path: X-Original-To: apmail-reef-dev-archive@minotaur.apache.org Delivered-To: apmail-reef-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C96C3183A2 for ; Tue, 22 Dec 2015 08:22:46 +0000 (UTC) Received: (qmail 29726 invoked by uid 500); 22 Dec 2015 08:22:46 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 29689 invoked by uid 500); 22 Dec 2015 08:22:46 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 29678 invoked by uid 99); 22 Dec 2015 08:22:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2015 08:22:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9393F2C14F6 for ; Tue, 22 Dec 2015 08:22:46 +0000 (UTC) Date: Tue, 22 Dec 2015 08:22:46 +0000 (UTC) From: "Sergey Dudoladov (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (REEF-1113) Update IllegalInstantiation checkstyle check MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sergey Dudoladov created REEF-1113: -------------------------------------- Summary: Update IllegalInstantiation checkstyle check Key: REEF-1113 URL: https://issues.apache.org/jira/browse/REEF-1113 Project: REEF Issue Type: Sub-task Reporter: Sergey Dudoladov Throwing exceptions of classes such as {{Throwable}} or {{Error}} should be prohibited. For this, we can use the [IllegalInstantiation| http://checkstyle.sourceforge.net/config_coding.html#IllegalInstantiation] check which can forbid instantiation of (almost) any classes. Many thanks to the sevntu-checkstyle team for pointing this out. -- This message was sent by Atlassian JIRA (v6.3.4#6332)