Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9241B200C58 for ; Sun, 2 Apr 2017 04:11:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90B34160BA0; Sun, 2 Apr 2017 02:11:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D6D80160B9D for ; Sun, 2 Apr 2017 04:11:51 +0200 (CEST) Received: (qmail 29865 invoked by uid 500); 2 Apr 2017 02:11:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 29852 invoked by uid 99); 2 Apr 2017 02:11:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2017 02:11:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A650E188A02 for ; Sun, 2 Apr 2017 02:11:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HWR7sEP04rVr for ; Sun, 2 Apr 2017 02:11:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 33B585F3FF for ; Sun, 2 Apr 2017 02:11:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4ACB8E0D19 for ; Sun, 2 Apr 2017 02:11:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 12D702401C for ; Sun, 2 Apr 2017 02:11:42 +0000 (UTC) Date: Sun, 2 Apr 2017 02:11:42 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (BSF-44) Un-thrown exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 02 Apr 2017 02:11:52 -0000 [ https://issues.apache.org/jira/browse/BSF-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb closed BSF-44. ------------------- > Un-thrown exception > ------------------- > > Key: BSF-44 > URL: https://issues.apache.org/jira/browse/BSF-44 > Project: Commons BSF > Issue Type: Bug > Reporter: JC > Assignee: Rony G. Flatscher > Priority: Trivial > > There is an un-thrown exception (BadArgumentException) in src/main/java/org/apache/bsf/engines/netrexx/NetRexxEngine.java (found from the current snapshot, f8eeaf2f8dd69e49b094b16b5c4d660c40f6be74). I have no idea if it is intended to do so. But thought it could be worth to report in case. > {code} > 128 public NetRexxEngine () > 129 { > 130 // handle logger > 131 logger = BSF_LogFactory.getLog(this.getClass().getName()); > 132 /* > 133 The following line is intended to cause the constructor to > 134 throw a NoClassDefFoundError if the NetRexxC.zip dependency > 135 is not resolved. > 136 > 137 If this line was not here, the problem would not surface until > 138 the actual processing of a script. We want to know all is well > 139 at the time the engine is instantiated, not when we attempt to > 140 process a script. > 141 */ > 142 > 143 new netrexx.lang.BadArgumentException(); > 144 } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)