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 5BE99200B2F for ; Sun, 19 Jun 2016 03:16:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5A79D160A63; Sun, 19 Jun 2016 01:16: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 A1504160A50 for ; Sun, 19 Jun 2016 03:16:33 +0200 (CEST) Received: (qmail 5822 invoked by uid 500); 19 Jun 2016 01:16:32 -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 5810 invoked by uid 99); 19 Jun 2016 01:16:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2016 01:16:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D4F081A053C for ; Sun, 19 Jun 2016 01:16:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QZftJ72FrPFS for ; Sun, 19 Jun 2016 01:16:30 +0000 (UTC) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 33FC45F368 for ; Sun, 19 Jun 2016 01:16:30 +0000 (UTC) Received: by mail-it0-f54.google.com with SMTP id a5so21353065ita.1 for ; Sat, 18 Jun 2016 18:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xp24IaafoxnRJEpWGXM0kJr2kuIdahzztDNqxkujEKI=; b=rqBljUNI/9eTeN2Mq0iQDv/NoByoBGzhQOB+KIpk8m02IvUJRm2iZzXopDhqS5geKs 8rwtG7TvEBcP5BM+f+rLwhHmBeSL8JdpBwwo4U8n+KVhoZdi8tGe4YxgTcj0zVl0odW0 TvRIUEDVQnuHUgzrxc3hWge/MvvFe8OB7OGO8il7v3DatvJg3bH3JKDgEQzK00+TG38a uqYiiC0IFboy+/UiOuOsp2aeI4OhVXHpavPk47sEYubemha52mpZPKQ4yWJAlINLM854 GPbAVmDUvl88DrlvOWHQ+LCWU3BGhDOfhXLQUiVUitCvAxTwSt6ryJdGkUmsBxtve6zk HlEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xp24IaafoxnRJEpWGXM0kJr2kuIdahzztDNqxkujEKI=; b=QjTmBKaWVtP4PrF8LHLDR2TA+8BuucJDk6TeU2NLLZV9vjWpRJk5n1FyqJ1cgocdau Pk6SFXKG7Az47/ZHuilbOCvcZB/dNvFeiRR1Ifn416hVlBBVk+6+BapgF504QVovVmLB RfxMfBs411rI9DEv5Nj7xV6E71nO6J5+t0vKzFUF67W8h0EtjyU/Dmro22eDbDl/wfFK vAU7ab5sxwYGERIQ8e77HZXx0aCea6VfmWIntAaEP+L6FbKpxAkFr/MMpQMg5lCypBfd f/fYB5D72fOJNGFJA88apjeZRLAoBAID46AGKxBr6D13zdN4CM94xMCINIPzA98nNOgL z2cQ== X-Gm-Message-State: ALyK8tIsDnVz/8cepmG3Di7GO9tp/5kQxGBUXEmCGU2weVswaVsqp6+ab3/1fwna/2rxamssraFDyBuHFpv9Tw== X-Received: by 10.36.61.202 with SMTP id n193mr7853973itn.92.1466298989201; Sat, 18 Jun 2016 18:16:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.134.83 with HTTP; Sat, 18 Jun 2016 18:16:28 -0700 (PDT) In-Reply-To: References: From: sebb Date: Sun, 19 Jun 2016 02:16:28 +0100 Message-ID: Subject: Re: [CRYPTO] Utils package To: Commons Developers List Content-Type: text/plain; charset=UTF-8 archived-at: Sun, 19 Jun 2016 01:16:34 -0000 On 19 June 2016 at 01:30, Stian Soiland-Reyes wrote: > +1 to rename crypto.utils it to .internal, and then we are somewhat free to > shrink it in 1.1. Also there are a couple of methods that are only called in one place so should be moved to the calling class: CRYPTO-83 CRYPTO-84 There may be others. > I see many things in there that could form a minimal Commons Native, e.g. > to help with bundled native libraries and architecture detection. While > perhaps less people deal with JNI now than 10 years ago, several Apache > projects do this, e.g. Hadoop (?). > > (Indeed, having a tmpfs with noexec flag has broken "java" software for me, > as then the extracted .so fails to load, but often without a helpful error > message - so a Common code for this might help) > > What exists already in Java land for Native library handling? One could > even expand to Android support, which does this a bit differently.. > On 12 Jun 2016 12:41 p.m., "Benedikt Ritter" wrote: Please start a separate thread for native code discussions. >> Hi, >> >> looking through the code I wonder what to do with the utils package. It >> looks like the typical "don't know where to put this peace of code"-dumping >> ground. I think we should at least mark the whole package as internal. >> Further more we should change class names: Utils, IOUtils and >> ReflectionUtils just call for trouble in user code. The best would be if we >> could get rid of the package completely. I'm currently trying to find out >> if that's possible. >> >> Benedikt >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org