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 1jtXV5-00043f-OJ for pljava-dev@arkaria.postgresql.org; Thu, 09 Jul 2020 14:26:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jtXV4-0003XW-NF for pljava-dev@arkaria.postgresql.org; Thu, 09 Jul 2020 14:26:10 +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 1jtXV4-0003XJ-Fw for pljava-dev@lists.postgresql.org; Thu, 09 Jul 2020 14:26:10 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jtXUz-0003mD-GM for pljava-dev@lists.postgresql.org; Thu, 09 Jul 2020 14:26:09 +0000 Received: by mail-ej1-x62d.google.com with SMTP id o18so2471276eje.7 for ; Thu, 09 Jul 2020 07:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i0x1UvZuJStqqKeYOM9QRvwo8iH9UOD/vZ0lyp/MO4A=; b=oXVKxou7HCUaohpqodG94l6YSzVedMkLUUrpxrCBb0S2BSNlnBonXSDBWyzGGZL6cf 3WX8lx7GqakQQ4FiBrmv20s4f2VzLRFDjY2tZMhUb+ZSfSSr1+1kgYyw+2TbocYe5oPn dQZOQbuNkozZNsyoBlg6Q06zDUd84YPtOV4/FF8tJ7chedpyzTCkgs7RhU/gzRz+Whq7 QhyUYqQ3eVsDh7C4Vl+HA5FhGaxSXd+m29N552JieUBxUW/jY3LO1ODT4tdLQI7+7CvZ nm3Nk2rsEnNJjaJ7EOD/PssYSQ3VC7ZtrvmXHMJRb350fiERp/Vy15exUMhcpOZqu5Ti Ec1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i0x1UvZuJStqqKeYOM9QRvwo8iH9UOD/vZ0lyp/MO4A=; b=jrJibUzdZFs6yw6kk/FanchI927teFA7rn7Z5EZxrIxpOAg/zHSOUmMToe3512+BdE v7rsddng/qIt//Apj5WNaFNQ2EZUMDaww3QDijqCw3184G9Wl7+/5O42dHAJuoz0X5DD nW6ozkPzjTtBb1XAeSCR0rcuEyTNVpqk7KN9TiN7Fs6ieNjcPEaWLLVTOybMdZtUMBEd aMlUNVqJVoHCQr6xdeGC6m3IT0z8GnuWIUbnC7foACKnl6D5dURU9/16tRk3LUWLf5eF +Q3MJclJPfCSePQv7gN4PQ9zUWTErzJTmNWS60Qhq1WTwe8e7TTHj5G4hJOu6OS1TV/H QYpg== X-Gm-Message-State: AOAM533y3qqUQGoBruSUUpbVCPboEmwyFU1QJH+RIAYXiKErJhDx7veH rSZqKWNA3V7iC67ruQKPBYTSmWa07VwTRePq09s= X-Google-Smtp-Source: ABdhPJz6iWmf9rS3apOF9ED5MSbQNDsffSVCoOepWdRjYY0M2S+C5oqUbrpK5AOY15tcGvqLRfVEiuFLuMDbydOQSYk= X-Received: by 2002:a17:906:594c:: with SMTP id g12mr56313127ejr.255.1594304763808; Thu, 09 Jul 2020 07:26:03 -0700 (PDT) MIME-Version: 1.0 References: <5F0125BC.5000609@anastigmatix.net> <5F0172D7.3000708@anastigmatix.net> <5F02122C.7040905@anastigmatix.net> <5F021785.905@anastigmatix.net> <5F021A20.1050903@anastigmatix.net> <5F02340C.7030002@anastigmatix.net> <5F04FA65.5000600@anastigmatix.net> <5F071CFC.9090306@anastigmatix.net> <5F072647.50301@anastigmatix.net> In-Reply-To: <5F072647.50301@anastigmatix.net> From: Kartik Ohri Date: Thu, 9 Jul 2020 19:55:51 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001c4e7d05aa0301bf" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000001c4e7d05aa0301bf Content-Type: text/plain; charset="UTF-8" On Thu, Jul 9, 2020, 7:44 PM Chapman Flack wrote: > On 07/09/20 09:51, Kartik Ohri wrote: > > > Any suggestions what could be the problem? As far as I see in the > > build.xml, I can only think of MSVC.RINT but it should not be probably > the > > cause. > > You could be on to something. I remember thinking that MSVC_RINT is > probably no longer essential to the build, at least for MSVC > 2012 > or PG > 9.3. But still, if there's an MSVC-only define that uses it: > > https://github.com/amCap1712/pljava/blob/d6608ff/pljava-so/pom.xml#L120 I'll look further into this. and it isn't being set to something, that might produce a null in the > defines list. > > >> to squeeze a little more information out of a NullPointerException > >> by putting the right -XX:... option in the MAVEN_OPTS environment > > > > Yes, I understand that but as you say it isn't beneficial in this case. > > I wonder if it wouldn't be worthwhile to have that in the MAVEN_OPTS > for all the automated builds (with Java >= 14), just to save time if > something else happens to blow up some day, > The latest preview builds of Java 15 come with this feature automatically enabled. Probably, a consensus will be reached on the default state if this feature before the General Availability later in the year. I don't know what MAVEN_OPTS is but I'll learn about it and enable it in Java 14. > Regards, > -Chap > --0000000000001c4e7d05aa0301bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jul 9, 2020, 7:44 PM Chapman Flack <chap@anastigmatix.net> wrote:
<= /div>
On 07/09/20 09:51, Kartik Ohri wrote:
> Any suggestions what could be the problem? As far as I see in the
> build.xml, I can only think of MSVC.RINT but it should not be probably= the
> cause.

You could be on to something. I remember thinking that MSVC_RINT is
probably no longer essential to the build, at least for MSVC > 2012
or PG > 9.3. But still, if there's an MSVC-only define that uses it:=

https://github.com= /amCap1712/pljava/blob/d6608ff/pljava-so/pom.xml#L120
I'll look further into this.

and it isn't being set to something, that might produce a null in the defines list.

>> to squeeze a little more information out of a NullPointerException=
>> by putting the right -XX:... option in the MAVEN_OPTS environment<= br> >
> Yes, I understand that but as you say it isn't beneficial in this = case.

I wonder if it wouldn't be worthwhile to have that in the MAVEN_OPTS for all the automated builds (with Java >=3D 14), just to save time if something else happens to blow up some day,
The latest preview builds of Java 15 come with this feature= =C2=A0 automatically enabled. Probably, a consensus will be reached on the = default state if this feature before the General Availability later in the = year. I don't know what MAVEN_OPTS is but I'll learn about it and e= nable it in Java 14.
Regards,
-Chap
--0000000000001c4e7d05aa0301bf--