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 D5B6C200D57 for ; Mon, 11 Dec 2017 09:26:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D42C5160C13; Mon, 11 Dec 2017 08:26:54 +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 2597F160C10 for ; Mon, 11 Dec 2017 09:26:53 +0100 (CET) Received: (qmail 17230 invoked by uid 500); 11 Dec 2017 08:26:53 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 17220 invoked by uid 99); 11 Dec 2017 08:26:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2017 08:26:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6BFF61805C8 for ; Mon, 11 Dec 2017 08:26:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SQBsfdFIIneb for ; Mon, 11 Dec 2017 08:26:50 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8093E5F1EE for ; Mon, 11 Dec 2017 08:26:49 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id f199so10312804vka.8 for ; Mon, 11 Dec 2017 00:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=hG39ajf7SmVT6mnIfO7SrcOQnHDjN599zI0CkTLovEE=; b=GWrqiulf2l0HJNA0l2L8k1FXZgRbI5hEF0308EikD5sEIjgs4vBbZFG2PV6rOHP/FU q4vVzUIqh6avB10L/mJELf6hOFaD8C3eTd/pzVy4YfgK2Ki07RjQBVOCJU1Aeyv/FhZO /10MnMZd2qIou+cBgatB3KswlOFhnWg8Cq3BCOOUOHn8IxfMxhQgRFmM4Lnt4B62hrRm iP1/PBX+5DMC3OK8enJFU9Egk8zVmAt9cQ6s9qg2DrKe93DbvxL1MnGPSkuaPSNGNJ0e gRWQAW02j1GYFKnOvcJuiUt/2fCBuxpwPCfKTWWK4fQfvKoYpnAPglKGTiNmcVL5E4hD iCCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=hG39ajf7SmVT6mnIfO7SrcOQnHDjN599zI0CkTLovEE=; b=cJRzICowC1zzkNoHA1q0AjJs8lXv1aIu3r+vQkRljzHvnQu+dtT/dBhiWv9nTlhm2l gukG+eOKF2lWjrIS/cmVKakbSBqPW1XU1BgfJJ2ygdXnE/1rGnBH+7phN83pieCH8Y/X PYvzTir4Qao0BsqIpQOw3WlFBjS9vAomqi5Cy3lrCuQmeYeka+jtcGaDOdO/XGldposn Q6I7whIr8a0jocCSKXb8+Qy7e+qqzBpcpfBMX5xpm5SwSLfTSQNr1BNOGjpgN9+a5Bxf Y2+eP7cjRVnytjpguvoYuW7E82NNKVU9aJZZYxWFLT4RLega76T+MVQROqzMGNMp3yuy Jfow== X-Gm-Message-State: AKGB3mKPiY8wvzErJvoEKrjeLhEkUXeubkcVqtcP/QPS6ITMC3qzkIH8 2QY1QlX2ujGAyffzNa/6z/NgD/ryT/jGyyaVCfw= X-Google-Smtp-Source: AGs4zMZCpBEIVmv+v3iwUfnGnra/DX6nBiJLQkmoI4R6YFggWzYjgDeodg2/6oTSW+0m87uZRzKLCQkAFk6yKMtpYVM= X-Received: by 10.31.215.65 with SMTP id o62mr24531999vkg.95.1512980802311; Mon, 11 Dec 2017 00:26:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.4.69 with HTTP; Mon, 11 Dec 2017 00:26:41 -0800 (PST) In-Reply-To: References: <16e9e7a6-f4d0-9f64-254c-74600e59a9cd@gmx.org> From: Ruben Laguna Date: Mon, 11 Dec 2017 09:26:41 +0100 Message-ID: Subject: Re: Is it possible to add GroovyObject methods via a category? To: users@groovy.apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable archived-at: Mon, 11 Dec 2017 08:26:55 -0000 I see, thank you very much. I'll take a look at how to implement the methodMissing support since I'm really interested on having this at some point in Groovy. Is there any chance to see this in Groovy 3.0 if you receive a satisfactory patch? or is too late for 3.0? Best regards/Rub=C3=A9n On Fri, Dec 8, 2017 at 7:02 PM, Jochen Theodorou wrote: > On 08.12.2017 10:31, Ruben Laguna wrote: >> >> I've found the following *old* bug report from 2009: >> >> [GROOVY-3867 Allow methodMissing/propertyMissing to be defined through >> category |https://issues.apache.org/jira/browse/GROOVY-3867] >> >> which says that methodMissing does not work since Groovy 1.6.5. > > > ok, then it is something we never got to fix > >> So I've opened a new JIRA ticket [iGROOVY-8408 invokeMethod cannot be >> set through category|https://issues.apache.org/jira/browse/GROOVY-8408] > > > as long as we have the GroovyObject based logic we currently have > invokeMethod cannot receive this kind of treatment. > > bye Jochen --=20 /Rub=C3=A9n