Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvkCY-0002fm-D9 for pljava-dev@arkaria.postgresql.org; Wed, 15 Jul 2020 16:24:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jvkCW-0006e1-6T for pljava-dev@arkaria.postgresql.org; Wed, 15 Jul 2020 16:24:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvkCV-0006YM-Mm for pljava-dev@lists.postgresql.org; Wed, 15 Jul 2020 16:24:08 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvkCS-0004TZ-Ms for pljava-dev@lists.postgresql.org; Wed, 15 Jul 2020 16:24:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GGWrVa5aHF27HlGGiQeYxfpAQ1T+0rijSext6kYDnIA=; b=I+TWjT2eI08aUq83+BRYbIkt5u XCUGmQymJ8TyAmgE2sVo1jg8VJCYR5JKtWzevPrSdOSbVN9XXL8xM0PxtBQlt5USFJLD28b98xVGR w7VeK/5PXvj9U5C5FsDCUgP//mNOiB/47nkOH6+5ypRsLFcIUzZ9edSbuvMRjPvaYZuVnjnGLWLHJ 5mS9gyzNFC+/WNXctKIyz1tQK2iDFdTteLYSN0ut7CNb7GYtL1Udpm46eR31qdO5746BaVW14ferc UCYTXndNdCprSZcFX1zyiUfR06yqar+uAmBT7l+Fc3bLlJEAgS4wA7ZJlqOXyDXY9RtGSfYhi+mNN luP3FwEw==; Received: from [184.19.31.139] (port=38764) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jvkCQ-00Eqnu-NY; Wed, 15 Jul 2020 12:24:03 -0400 Subject: Re: PL/Java new build plugin To: Kartik Ohri References: <5F071CFC.9090306@anastigmatix.net> <5F072647.50301@anastigmatix.net> <5F0734AD.7060001@anastigmatix.net> <5F077926.2050806@anastigmatix.net> <5F07C2D5.5050904@anastigmatix.net> <5F0D35BA.30904@anastigmatix.net> <5F0E3972.5070609@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F0F2DA2.5090603@anastigmatix.net> Date: Wed, 15 Jul 2020 12:24:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <5F0E3972.5070609@anastigmatix.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/14/20 19:02, Chapman Flack wrote: > then on Java 9 there is > still one JNI reference warning, but that's being treated as a failure. > ... > looks a little trickier, as you're probably checking for > warning output from install_jar(...examples...), which really does > indicate trouble, but the WARNING: JNI local refs: does not. Looking a little more closely... psql : INFO: WARNING: JNI local refs: 40, exceeds capacity: 39 It is coming out INFO: WARNING: ... The WARNING: is part of the message from Xcheck:jni, but it's being deliberately passed to PostgreSQL's ereport at level INFO [1]. So, probably, by being careful enough to use the first INFO/WARNING tag to distinguish the cases, we could avoid having that look like a failure. Regards, -Chap [1] https://github.com/tada/pljava/blob/6f63568/pljava-so/src/main/c/Backend.c#L1092