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 A6A4C200B33 for ; Wed, 29 Jun 2016 12:27:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5572160A57; Wed, 29 Jun 2016 10:27:34 +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 E95D0160A4D for ; Wed, 29 Jun 2016 12:27:33 +0200 (CEST) Received: (qmail 32505 invoked by uid 500); 29 Jun 2016 10:27:33 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 32493 invoked by uid 99); 29 Jun 2016 10:27:32 -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; Wed, 29 Jun 2016 10:27:32 +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 4DCCD187971 for ; Wed, 29 Jun 2016 10:27:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.08 X-Spam-Level: X-Spam-Status: No, score=0.08 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 1R9jyva7UndE for ; Wed, 29 Jun 2016 10:27:31 +0000 (UTC) Received: from mail-it0-f53.google.com (mail-it0-f53.google.com [209.85.214.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7C7035F1E3 for ; Wed, 29 Jun 2016 10:27:30 +0000 (UTC) Received: by mail-it0-f53.google.com with SMTP id a5so115678695ita.1 for ; Wed, 29 Jun 2016 03:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=edlO7cqdEElezXoRIUvpVtJyKnj4zInnE7+IGCEIRkY=; b=AP/oe/RafuN9/GtuoDQHISmPAiGurX217BqTkv3n5lT3Y5BeqqeQFZIafEExX00nuS O5O/UZi5ItgQwx4QS6MOBkV10eY7xq8wK+boeODkHgviDpyQfL4rwmJVc9LyFZ8dcJam /Lmr2jCCthseMOazJH4+wr+nD9AicMtreKUckxFp24HQAyFQPLfZLKFlhpJU/8ijh5Qx 9CALIsdIhhg9wHNNPQyv0sEX8nTCFSs31/32EQr1IYkGnffJmAK2AoXCeuuxgW/yDGIR B1mT1dHfohnwnW23YpsrsrDjKLZuGzv2qgAWzIKveLxMCAqbP6quNqM6Z0kyn9fzn1wx UmAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=edlO7cqdEElezXoRIUvpVtJyKnj4zInnE7+IGCEIRkY=; b=a5kNx+OpKUY7q0rnClBoZXXfE6hGfhTuyIYr53pViuCAKxOSOOWhw8EcEukv1A0Ir2 q23cWM8MmFhLTm1NinYnwdxijvLsaX8eRfqvFRGNPLr0i+2Rhg0FTWayVhF/zegLpfjQ gmCU1pV9pb4sYUEJGeHzeR7kz+6MOSxxhe35EXNHcy5IGLm/+eYFBlu7CqK3453TkDzH qU+NdFzXgD2slkgDt1FDJFC5toGXCkxH8x3UHgY50X8cR4cRk+MIvEnhMYzyhJi5/d2M LD3J1+j7QyQ4vESOPpbACBq5PJUlbpGiajXl0qQfe6Fjg5KGie1ZNH4ubnyUyfLTK2wt McEA== X-Gm-Message-State: ALyK8tIzWPGR+8EQVg8WEXAs5rJenZRLxwb0GIH6q4QE6k7/FLYsLkjfiCHptecE0maZ2D73sq6j8+tA4e1rYA== X-Received: by 10.36.22.134 with SMTP id a128mr18805347ita.58.1467196049096; Wed, 29 Jun 2016 03:27:29 -0700 (PDT) MIME-Version: 1.0 Sender: sebbaz@gmail.com Received: by 10.107.134.83 with HTTP; Wed, 29 Jun 2016 03:27:28 -0700 (PDT) In-Reply-To: <67ef2ba959fb414a9316b496b96b1bf7@git.apache.org> References: <67ef2ba959fb414a9316b496b96b1bf7@git.apache.org> From: sebb AT ASF Date: Wed, 29 Jun 2016 11:27:28 +0100 X-Google-Sender-Auth: 64hTxQGNDtCKUlxTVj-b3iDFbm8 Message-ID: Subject: Re: commons-crypto git commit: Fallback no longer exists To: CommonsDev Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 29 Jun 2016 10:27:34 -0000 This compile error was not picked up because the Benchmark class is only compiled if the -Pbenchmark profile is used. The class cannot currently be compiled in normal mode because it depends on JMH which is only included as a test dependency by the profile. I'm wondering whether the test dependency on jmh should be made unconditional? This would allow compilation during the test phase. The profile would still be needed to run the benchmark itself. Would there be any disadvantages to always depending on JMH? On 29 June 2016 at 11:21, wrote: > Repository: commons-crypto > Updated Branches: > refs/heads/master 9e7f040b1 -> 8a8bcb0a3 > > > Fallback no longer exists > > Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo > Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/8a8bcb0a > Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/8a8bcb0a > Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/8a8bcb0a > > Branch: refs/heads/master > Commit: 8a8bcb0a3293597b306b49ea86f1e592b8b00b47 > Parents: 9e7f040 > Author: Sebb > Authored: Wed Jun 29 11:20:58 2016 +0100 > Committer: Sebb > Committed: Wed Jun 29 11:20:58 2016 +0100 > > ---------------------------------------------------------------------- > src/test/java/org/apache/commons/crypto/CryptoBenchmark.java | 2 -- > 1 file changed, 2 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/8a8bcb0a/src/test/java/org/apache/commons/crypto/CryptoBenchmark.java > ---------------------------------------------------------------------- > diff --git a/src/test/java/org/apache/commons/crypto/CryptoBenchmark.java b/src/test/java/org/apache/commons/crypto/CryptoBenchmark.java > index b1bd753..9e10311 100644 > --- a/src/test/java/org/apache/commons/crypto/CryptoBenchmark.java > +++ b/src/test/java/org/apache/commons/crypto/CryptoBenchmark.java > @@ -173,8 +173,6 @@ public class CryptoBenchmark { > private CryptoCipher getCipher(String className) throws Exception { > Properties properties = new Properties(); > properties.setProperty(ConfigurationKeys.CIPHER_CLASSES_KEY, className); > - properties.setProperty(ConfigurationKeys.ENABLE_FALLBACK_ON_NATIVE_FAILED_KEY, "false"); > - > CryptoCipher cipher = CryptoCipherFactory.getInstance("AES/CBC/PKCS5Padding", properties); > Assert.assertEquals(className, cipher.getClass().getCanonicalName()); > return cipher; > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org