From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63214 invoked by alias); 19 Mar 2017 00:01:41 -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 63195 invoked by uid 89); 19 Mar 2017 00:01:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*r:sk:kawa@so, H*UA:GNU, H*x:GNU X-HELO: homiemail-a22.g.dreamhost.com Received: from sub3.mail.dreamhost.com (HELO homiemail-a22.g.dreamhost.com) (69.163.253.7) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 19 Mar 2017 00:01:39 +0000 Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id 86CD1114067 for ; Sat, 18 Mar 2017 17:01:38 -0700 (PDT) Received: from vereq.eip10.org (cpe-74-75-122-130.maine.res.rr.com [74.75.122.130]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPSA id 5049A114066 for ; Sat, 18 Mar 2017 17:01:38 -0700 (PDT) Received: from chaw by vereq.eip10.org with local (Exim 4.84_2) (envelope-from ) id 1cpOHx-0000NI-GY for kawa@sourceware.org; Sat, 18 Mar 2017 20:01:37 -0400 To: kawa@sourceware.org Subject: Threads and the getResult method From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1442.1489881697.1@vereq.eip10.org> Date: Sun, 19 Mar 2017 00:01:00 -0000 Message-ID: <1443.1489881697@vereq.eip10.org> X-IsSubscribed: yes X-SW-Source: 2017-q1/txt/msg00086.txt.bz2 I was trying to use threads as outlined in Section 8.6 ("Threads") of the manual and was unable to call the getResult method as suggested there until I added a 'public' modifier to that method's definition in gnu/mapping/RunnableClosure.java. I submitted a GitLab pull request, even though this change is trivial, mainly to exercise that functionality. It may be preferable to ignore it and just make the change directly (assuming it is valid). Regards, -chaw