From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80132 invoked by alias); 31 Oct 2018 09:49:36 -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 79117 invoked by uid 89); 31 Oct 2018 09:48:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*r:4.89, Hx-spam-relays-external:ESMTPA X-HELO: glow.birch.relay.mailchannels.net Received: from glow.birch.relay.mailchannels.net (HELO glow.birch.relay.mailchannels.net) (23.83.209.71) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Oct 2018 09:48:26 +0000 X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 39B535C057E; Wed, 31 Oct 2018 09:48:15 +0000 (UTC) Received: from pdx1-sub0-mail-a39.g.dreamhost.com (unknown [100.96.33.121]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id EC7AB5C3750; Wed, 31 Oct 2018 09:48:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|chaw@eip10.org Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Wed, 31 Oct 2018 09:48:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|chaw@eip10.org X-MailChannels-Auth-Id: dreamhost X-Language-Continue: 0386237d2e67d79b_1540979295050_1513358965 X-MC-Loop-Signature: 1540979295050:1672501794 X-MC-Ingress-Time: 1540979295049 Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id AFFAE7F63E; Wed, 31 Oct 2018 02:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eip10.org; h=to:cc:subject :from:reply-to:in-reply-to:mime-version:content-type:content-id :date:message-id; s=eip10.org; bh=1NNQW8OvEfMcP9CLVaw5ZmkWiLA=; b= DSTsdOuelW1irv0tiIvt4GqiYIDuPOm2P4eNMEoU/MfUanaRDFPdK3D4Ay+YYhIl XyyIeXSMO6suERzJUKzV1ctDEJBt2zQFIr+qKbCXGqVxX2MCsUi9zkcIVPIAAPY1 GQBLxwrA5B75Fd/NLFLGRINeoNvmye9Fh5JLyS+bvoM= Received: from vpaur.eip10.org (cpe-74-75-122-130.maine.res.rr.com [74.75.122.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id 4C8D27F641; Wed, 31 Oct 2018 02:48:14 -0700 (PDT) Received: from chaw by vpaur.eip10.org with local (Exim 4.89) (envelope-from ) id 1gHn6j-0000L0-Qs; Wed, 31 Oct 2018 05:48:13 -0400 To: Arie van Wingerden cc: kawa@sourceware.org Subject: Re: JavaFX unexpected warning X-DH-BACKEND: pdx1-sub0-mail-a39 From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" In-reply-to: Your message of "Wed, 31 Oct 2018 10:31:09 +0100." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1300.1540979293.1@vpaur.eip10.org> Date: Wed, 31 Oct 2018 09:49:00 -0000 Message-ID: <1301.1540979293@vpaur.eip10.org> X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 10 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedriedvgddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecuogfpohfkffculddutddmnecujfgurhepvffuhfhrjgfogggtsehttddttdertddvnecuhfhrohhmpedfufhuuggrrhhshhgrnhcuufcuvehhrgifrghthhgvfdcuoegthhgrfiesvghiphdutddrohhrgheqnecukfhppeejgedrjeehrdduvddvrddufedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehvphgruhhrrdgvihhpuddtrdhorhhgpdhinhgvthepjeegrdejhedruddvvddrudeftddprhgvthhurhhnqdhprghthhepfdfuuhgurghrshhhrghnucfuucevhhgrfigrthhhvgdfuceotghhrgifsegvihhpuddtrdhorhhgqedpmhgrihhlfhhrohhmpegthhgrfiesvghiphdutddrohhrghdpnhhrtghpthhtohepkhgrfigrsehsohhurhgtvgifrghrvgdrohhrghenucevlhhushhtvghrufhiiigvpedt X-IsSubscribed: yes X-SW-Source: 2018-q4/txt/msg00016.txt.bz2 > It does work, however, I get this unexpected warning: > .\test.scm:14:29: warning - no known slot 'setStyle' in java.lang.Object > > Any ideas why? Kawa cannot be sure that the Button procedure returns an object of Button type, and so only assumes it is an Object and then wonders whether that Object will have the required setStyle method. > > (define button Changing the above to something like (define button ::javafx.scene.control.Button should fix the problem. Regards, -chaw