From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by sourceware.org (Postfix) with ESMTPS id 28FD93858D32 for ; Thu, 4 Jan 2024 06:59:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28FD93858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 28FD93858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::2b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704351596; cv=none; b=i/z8IdyIP2POOfDUgaxycDWVBRdOJfmoZdUX9MYXYnPj/mrV6Jsz7sR/DILB3X3198II/234ZQo6lsz3iaePSuDbg9peN4sOCGFFiLFs3BraCUI2UQsWgDOvPWHqTQYGLj6oNIsV3HV9IjKuKfQkHpPrmNblY8kucrC5hhg3TYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704351596; c=relaxed/simple; bh=QY/OUJTyTbAwp4Hi9ZYAQNHJ8LaXB0v41dK/8RJNhZ8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=MTEI38O2jm6RC1VTy/iD1QtNMxATnbJOr0AZfq+ry4fic68NwkrGKRwrnGD7Lfloryn7nZh5f5m2vGiXrZb4/CmAJggIC0TYcSiqf96Mqni/cxPYp2F8HoHFoHHqEC/WW6FDIvNpwqPiMzSD2ZIXxLkqI0KJz4vHTXBH9SqTM/o= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-2041bb80cb3so114550fac.2 for ; Wed, 03 Jan 2024 22:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704351594; x=1704956394; darn=sourceware.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RxEWY58s1rwbXgcbmM5vJgdM4h8T5scmnqQGOu12dus=; b=V0+oopf4x2xMaRDJETXaEfRa90dtCwiMZHTanM7Jk7GKs675hgnjEJTKxU8wxpHNtN hRe/Bvjv701mv9LtkjK3GLujzDAVo4z0TWg7xIkphVNnpizJWEJ8uk45XwdS+tiqh9c5 IceQsn7jgGRQmfdScyu3g7sVaQdrOLh1B1+M+lq7I5Jk3NAeZPLSgRTZmJU0xndBpw9C lcl6E2sLG2TVSEenUrqXFNzU9mG23Vrvebw/oxs3Qw1Ab+TooQFih/Kv+qwMhwmOw3vf X0TVA4TMaLMwMagrbWqiBuUgs1k0E2QWs9+4NgeZ/bwEJfjw/DacseA4QSZpe4vvylmH jd3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704351594; x=1704956394; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RxEWY58s1rwbXgcbmM5vJgdM4h8T5scmnqQGOu12dus=; b=AYbbBu+AW8h7yZxFc3n0rQCRbPkz4MnavWL4m/ls6f/Sqfxvi+Z6FGnfZPtUj90B/m yasz5RgDQ7hQZ/8g5joM9TuEag0uLDzq8WRO/TE5kzYn6M2HYiKJlorXyG62ZbawSfjH hE6LRN8AR4Y5DyW89WUB+2WgyRXtxsb3U+ZNGuwLu8zhQsvZTZ8U3PkFH/NqXlrDHfQu nThaKfnKUCMnK5esX2PUQWsL23DWj6rDsQxZtsiw0BhtPM4b0o7UuqOHaick3uIHd8dZ FoJKxMzkK151524xry4UDXeUlYP6iewaQp1686PzIUt7YoXfttAnyu1DMcjDlLrxW34Z 7xXg== X-Gm-Message-State: AOJu0Ywf+bym2VhvtYQMx+empB35kFiKt7SlzYl7p2as/dNFCTwuOsGI kAoS0iOB8CuGhmn/37GzbBNyq1b8FIgLfKTb8RA= X-Google-Smtp-Source: AGHT+IGaN50R4Zym000xnV0xXmqUM9ahKeJtzTy8fIiUbdYMmYaT9tNylObgdi+eOreP0Ssbb5CY621gC8UiJgFM/aU= X-Received: by 2002:a05:6870:4727:b0:204:2bc4:87c9 with SMTP id b39-20020a056870472700b002042bc487c9mr172551oaq.86.1704351594374; Wed, 03 Jan 2024 22:59:54 -0800 (PST) MIME-Version: 1.0 References: <874a87f8-29d2-4ee9-bbff-ef8a4e023728@bothner.com> In-Reply-To: <874a87f8-29d2-4ee9-bbff-ef8a4e023728@bothner.com> From: Panicz Maciej Godek Date: Thu, 4 Jan 2024 07:59:42 +0100 Message-ID: Subject: Re: Class does not implement the requested interface To: Per Bothner Cc: kawa Content-Type: multipart/alternative; boundary="0000000000005ae891060e194745" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000005ae891060e194745 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for explanation. But if the Editor interface extends WithCursor interface, and NoEditor implements Editor interface, doesn't it imply that it implements WithCursor interface? czw., 4 sty 2024, 02:19 u=C5=BCytkownik Per Bothner napis= a=C5=82: > On 1/3/24 15:33, Panicz Maciej Godek via Kawa wrote: > > The thing is, that all the required methods from the interface WithCurs= or > > are implemented by NoEditor. > > > > But I wonder why Kawa claims that the interface isn't implemented when > > clearly all the required methods are present. > > Kawa, like Java, requires an interface to be *explicitly* implemented by a > class. > It is not enough to implement all the methods of the interface. > -- > --Per Bothner > per@bothner.com http://per.bothner.com/ > --0000000000005ae891060e194745--