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 1k9qWW-00088H-U7 for pljava-dev@arkaria.postgresql.org; Sun, 23 Aug 2020 13:59:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9qWT-0005FT-5p for pljava-dev@arkaria.postgresql.org; Sun, 23 Aug 2020 13:59:01 +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 1k9qWS-0005FM-Ma for pljava-dev@lists.postgresql.org; Sun, 23 Aug 2020 13:59:01 +0000 Received: from anastigmatix.net ([68.171.219.55]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9qWP-0004pC-Pt for pljava-dev@lists.postgresql.org; Sun, 23 Aug 2020 13:58:59 +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=DL6W08qxc7BuHTm/NMlc2RHHmKaoLi0hakfK3XWVflw=; b=tq9AUcUHa7+TGlOjiHfxnSCI51 YgQM77MuyVvkqgzDsh/W0Yg2iKfzaW9/FT0Rm6dvYDJ0nq1JCYPLL3LVZ0LSOVMTr6PHPbucd5kzZ Ba8Z/HhFcFg7mpzYvn+u2QmiUxSqeCdawVwYzACc58FbwRCo94OCMMFiz3/K1Cjw64wHKFiHIfodD mEX4c2TzPePG+nKPI737RqCedwoRhd0cnBQtaiM6G3RSnctJ+IgAJ6Rmb79zjcQP+Ux7JQbUnuw0T u81rwESPviEFhDTo9QblLex3RCEGADG8vtP6MVNssXAmhuYsGj9lFE8VJQ4yu1MEc6kLr6GQIGRM4 m8lHcU0A==; Received: from [184.19.31.139] (port=45830) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k9qVw-0061dM-Me; Sun, 23 Aug 2020 09:58:55 -0400 Subject: Re: the ScriptingMojo To: Kartik Ohri References: <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> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack Message-ID: <5F427604.5010103@anastigmatix.net> Date: Sun, 23 Aug 2020 09:58:28 -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: 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 08/23/20 07:26, Kartik Ohri wrote: > 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. Well, I would like it better if they noticed it earlier, but I can live with that. Commit d5977c5 is the latest one I am seeing ... ? Regards, -Chap