From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16718 invoked by alias); 5 Jun 2017 00:29:08 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 16410 invoked by uid 89); 5 Jun 2017 00:29:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-7.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:10.9.9, UD:Method X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Jun 2017 00:29:06 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dHftJ-0002WW-Vv; Mon, 05 Jun 2017 02:29:06 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dHftI-00087x-Uc; Mon, 05 Jun 2017 02:29:05 +0200 Subject: Re: gnu.expr.ModuleMethod no more? (+ Emacs SLIME) To: Sudarshan S Chawathe , kawa References: <22244.1496609440@vereq.eip10.org> From: Per Bothner Message-ID: <2e3756cf-2c75-2dec-d3a0-d2300df97448@bothner.com> Date: Mon, 05 Jun 2017 00:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <22244.1496609440@vereq.eip10.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00086.txt.bz2 On 06/04/2017 01:50 PM, Sudarshan S Chawathe wrote: > The source and binary packages for kawa-2.4 (from ftp.gnu.org) both > include the class gnu.expr.ModuleMethod but the Gitlab repository > doesn't seem to have it. Is that indicative of a change in future > Kawa releases? If so, what is the recommended replacement? The replacement is gnu.expr.CompiledProc. > Sorry if I'm missing something obvious here. I did a quick grep and > skimming on the Changelogs Yes, that is what you should have done - except I got a bit sloppy maintaining the ChangeLog in the invoke branch ... > and couldn't figure much out except that > ModuleMethod.java did exist in the repository a while back. I suspect > this may be somehow related to recent changes related to the merged > invoke branch, but have only vague ideas. CompiledProc is a very direct replacement for ModuleMethod. However, the former uses a MethodHandle (or a java.lang.reflect.Method) that points to a procedure's check method; the old way used an index that was used is a compiler-generated switch. -- --Per Bothner per@bothner.com http://per.bothner.com/