From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) by sourceware.org (Postfix) with ESMTPS id 53F1B3856DC0 for ; Fri, 21 Oct 2022 19:19:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 53F1B3856DC0 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe2c.google.com with SMTP id x66so2238651vsb.3 for ; Fri, 21 Oct 2022 12:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ThJ2RLwvqvu90F9dGJjVJZgT9Yls1QjNquEAxRjZvr8=; b=gWrcTV0PA2xggRGzsE0clnhqLWmwB7C1qg05l/2smRXIrjJ2WSaepAHPhk3zweWUOy uE/scc2J8E2gTe/ErpVI6bFJOmiiOiP60nPx56We3cD5JZv5kQAwkyMhdr09LcWZnYno 3RO7sRbpKkq/83jx49oVL8Q5m1uARKexBdOz/RYj4bTxM+byKA7fmwPJbSjEY3ZQv0SC zNbq1xIQnNX5phQfUpeG0OWqHCPOiT4529E12fKcfT3s13SAifKKxvMjDza7Gr1latLc imLib82KzbWIG1/JnlD7o/5qi86QS7ha9Wbs6jZhL86cAO14viub0nf0ogUo652qhs2a Qt3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ThJ2RLwvqvu90F9dGJjVJZgT9Yls1QjNquEAxRjZvr8=; b=GbN6jIcm/mi/3raACfFw26jhQ/6ZYkIvV63kH8XIoTfaGDeaIMw6bnKr6Q1wRHsraz QqkbmbDdTghJc9Kr4pgFM2C89zAekd/8DohkdTaLRj8lEBqIhVdexuoxbmNQWdjqZh4J 0jZVp/1+kHjbZ3TTrbEn6alVS64vjMacwcrkWLpafrDyOQKqQmCVSXG6Pi3konYLIvTY 16cG1IcXM2Fv4DzorpFoKduz4IqgyfQ0ESIc+Qgo1ogX1HquvD3GiCqQuR5aNZgPSJK2 9GvvAHnPA7mBCEv4pHZbbTVXgJv5TNOjhlamJ1fFCDdDmmr5QNo5GvCP/XtyrNa8bloJ W68A== X-Gm-Message-State: ACrzQf1qMkqRZxFVDu9TDBjwDet4h9jUIuVbuF5jh1naKtkOvuPwO7P5 EGT3/4qvBeT+lTzpyqAGJzJZGXqXAKZB+74l4OAecKg9 X-Google-Smtp-Source: AMsMyM4fcCUR0/Ix0h8e5ovPclfNcD9uE5sa5nloOSz7/AehdaPPx58on01bUereGxD6QyWLuvk888R50YRCln0rzrc= X-Received: by 2002:a67:fd63:0:b0:3a7:7415:5070 with SMTP id h3-20020a67fd63000000b003a774155070mr11867462vsa.78.1666379963598; Fri, 21 Oct 2022 12:19:23 -0700 (PDT) MIME-Version: 1.0 References: <0986a08f-c28f-882c-8236-f5f3ecc5cb6a@bothner.com> In-Reply-To: From: Panicz Maciej Godek Date: Fri, 21 Oct 2022 21:19:13 +0200 Message-ID: Subject: Re: Building for Android To: Per Bothner Cc: kawa@sourceware.org Content-Type: multipart/alternative; boundary="000000000000ca89c605eb905188" X-Spam-Status: No, score=-0.3 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 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: --000000000000ca89c605eb905188 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pt., 21 pa=C5=BA 2022, 20:12 u=C5=BCytkownik Per Bothner = napisa=C5=82: > > > > While this isn't something I can't live with - because I don't have that > many such use cases - I wanted to ask about the chances of resolving that > issue? > > Well, if the fix in my previous sets USE_SYMBOLIC to false for you, > the part of the problem is solved. > > If you're still getting invalidly mangled field names, we should figure > out why. > The patch does solve the issue with the interference between --with-android and --with-java-source (I tested it with version 9 to see whether the d8 tool would stop complaining - but it didn't help, although it didn't break anything either) However, the issue with accessing superclass properties with mangled names from a subclass remains unsolved. When I run javap on the compiled superclass, it gives the following result (I'm pasting only the problematic identifiers): public abstract class CharPainter implements Painter { public gnu.math.RealNum shift$Mnleft; public gnu.math.RealNum shift$Mntop; public gnu.math.RealNum clip$Mnleft; public gnu.math.RealNum clip$Mntop; public gnu.math.RealNum clip$Mnwidth; public gnu.math.RealNum clip$Mnheight; public Position marked$Mncursor$Mnposition; public boolean selection$Mndrawing$Mnmode$Qu; ... } This doesn't look incorrect to me - I'd suspect that the problem might be on the side of the subclass. > --000000000000ca89c605eb905188--