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 1k9o8n-0001c6-JG for pljava-dev@arkaria.postgresql.org; Sun, 23 Aug 2020 11:26:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9o8k-0004Ch-B1 for pljava-dev@arkaria.postgresql.org; Sun, 23 Aug 2020 11:26:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9o8k-0004Ca-3v for pljava-dev@lists.postgresql.org; Sun, 23 Aug 2020 11:26:22 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9o8d-0002KM-CD for pljava-dev@lists.postgresql.org; Sun, 23 Aug 2020 11:26:21 +0000 Received: by mail-ed1-x531.google.com with SMTP id w2so5584317edv.7 for ; Sun, 23 Aug 2020 04:26:14 -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=4Aq+C+pr8GpkJTYNVswxjPbgbELo+F1C4I1izBTv2Qc=; b=SrM1EdD+C5nwp9IZpe3xR2WxuOMDNCctz6I85Lxok7ifBqLsYSqZvo3e5RDZYYyn43 7lqUZ8meyuOvIsHLzYDKv6OoIbFMJifUWh28z/s0XkupbzagZbZKgiB1uHXjMkYvYOwX +soyIjJHPVeKuDVRt8wqAyXz5hcsQ2wvGP1risYq5skNOqbVE7AcKVkogeM0Vb0frpDc nbv89UyUfRlicx9TjLk0pBeFPYuSYCiosawZtvuEGqYpcpnWhFX4exfm/mvvI65WbKGr rXXTwrcpCHnau5TXLqVP1B7CtbS+N8Ot560+i/Zl0Ztv/fPWK4qKQWWyG7v+Eoih1L7B tBCQ== 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=4Aq+C+pr8GpkJTYNVswxjPbgbELo+F1C4I1izBTv2Qc=; b=jiR3jh0MoWlqVtXmR+zUXl9arElp3fiY0N463oxcvXUbM4pLP+ZBIeRSKlCoQ1XUjt BE0vtsDWM8WcD5wpKBufY8otY+slEjeNVOcsQJ8DkCZBR+8M+D+IgT13hBuluG5Lh0mP e6Il3w0H2YY+5/QAufesuwDMZrOMoxpHJKJ83GEr4eC9V9sLjIdQtMMN+71AmlILA70N LdJKSQelNz8seCE6ryPwpfLJyJlHWTcRkEVkvuwMmEgttfNKM5v5Qto/R8IMn98je6Be M25CEEynb4azbwI07hrbQwIWjGBn2ZzdSma6DZlx5HXcEu8vMUGAc8U7Y5r/HWJ4Byo6 GjYg== X-Gm-Message-State: AOAM533QJiU6jMR2vh2IhAHq7yENTcPbH2pY83ztdGvP3OJsAYprvAJn SVxuQx9Bcs1sITaxivBoyKp414gFmUtTCcmhJhhtUFbYk2o= X-Google-Smtp-Source: ABdhPJzb6xGJ1fViswgvrXfc/HG1XTlkMqDJryo+TEJhv23SswbmVj2zM2AdaK5eNFyrmoQkjc4MQbPgWwYOJcfS3KM= X-Received: by 2002:aa7:cf8a:: with SMTP id z10mr954120edx.323.1598181972687; Sun, 23 Aug 2020 04:26:12 -0700 (PDT) MIME-Version: 1.0 References: <5F2EC4F4.3080608@anastigmatix.net> <5F31EFEC.1080609@anastigmatix.net> <5F368380.9070203@anastigmatix.net> <5F368A99.6070709@anastigmatix.net> <5F36965C.60707@anastigmatix.net> <5F3A7DC6.8090905@anastigmatix.net> <5F3D32E9.80504@anastigmatix.net> <5F3D36BE.70703@anastigmatix.net> <5F3D38F8.7050907@anastigmatix.net> <5F3D3A75.5010304@anastigmatix.net> <5F3D3D2E.4070109@anastigmatix.net> <5F3D43BD.4020900@anastigmatix.net> <5F3DA48D.7090408@anastigmatix.net> <5F41943D.9080707@anastigmatix.net> In-Reply-To: <5F41943D.9080707@anastigmatix.net> From: Kartik Ohri Date: Sun, 23 Aug 2020 16:56:00 +0530 Message-ID: Subject: Re: the ScriptingMojo To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000c4c00605ad89bc4b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000c4c00605ad89bc4b Content-Type: text/plain; charset="UTF-8" Hi! I have implemented the changes according to your patches and pushed them. I have added a dispatcher object to the script to provide the correct linking recipe at runtime. I also noticed a couple of things that are valid for both Nashorn and Graal. While instantiating a java class using a javascript object, no error is thrown if a method is missing or mismatches arguments (number or type). Only when the function is invoked, an exception is thrown if there are any issues. Please take a look and let me know what changes are needed. Thanks. Regards, Kartik --000000000000c4c00605ad89bc4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!
I have implemented the changes according to your p= atches and pushed them. I have added a dispatcher object to the script to p= rovide the correct linking recipe at runtime. I also noticed a couple of th= ings that are valid for both Nashorn and Graal. While instantiating a java = class using a javascript object, no error is thrown if a method is missing = or mismatches arguments (number or type). Only when the function is invoked= , an exception is thrown if there are any issues.
Please take a l= ook and let me know what changes are=C2=A0needed.
Thanks.
Regards,
Kartik
--000000000000c4c00605ad89bc4b--