X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.6/26745) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mail-ot1-f41.google.com ([209.85.210.41] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.14) with ESMTPS id 29049242 for webobjects-dev@wocommunity.org; Fri, 09 Dec 2022 18:05:35 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=209.85.210.41; envelope-from=recurve@cocoanutstech.com Received: by mail-ot1-f41.google.com with SMTP id z14-20020a9d65ce000000b0067059c25facso3150713oth.6 for ; Fri, 09 Dec 2022 09:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chatnbike.com; s=chatnbike; h=to:message-id:subject:date:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=H+weo54NO7/Y0fu87ns2q4AY96n9YEkadSNAeNwyyyY=; b=f6u9bI4s1NHxJnLuxAtqDOjtaoQIIq113bJygt62BvUxT2oxSIcbAgjZlsly1p22w2 /mOmK7lLWTxnmO8xQloBkl+9Z3TJ+E1cPoaO5zh4d8KTUizVrzOmVYz/9NT75OxJxTAk +EfyRYOlmUle30YW7YZQdrWuybMMLU803zqvQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:message-id:subject:date:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H+weo54NO7/Y0fu87ns2q4AY96n9YEkadSNAeNwyyyY=; b=DfKo/WxRWtGadK0vuwX2h+m4MkMbHsLZlXJkDQJLIJGBVkxVqgedQXq/+n61dSCwNQ id1wmCmmRVpPPjL9/sAoWbBbTEicy8ev3LI2RbiJ8JZxBVhehjlsWrcJnlAcS18jywPL F9zR8XYVXnY6gYtQGUTxBXWu/ujYQMG+YqbRADuxJP3iBThm1ACc39ILcq1U6Wvl4JuQ VH0dK2tiHC86nMVRPqaJjmPNSiVWX3iqChCGUMyCtcmP4PYKpETZW9Y9mXf13LC29vCu yV58v+J+Gc9qDetz3luYCyyhUZolL3+n2U8Ieqh+rf2SoKgAJmWnJTiVAvbhbIcBki7J d+cA== X-Gm-Message-State: ANoB5pmm1vAwaGRFbg9uCGd+JvNm84rilTxyESE6WR0kYq5rcYAFrtRj m5eQfGreMDpRY1u+ac/plGIW9XNDvRPATJ01b3w= X-Google-Smtp-Source: AA0mqf4/Jw6b2aqLZ2kHtsBK1FPsU1Z2mJ+Ordi8VgHDMjJD7ZRC1sAv6UYXG0EQAv3HcXP1Gb1j3w== X-Received: by 2002:a9d:7555:0:b0:670:58c8:534c with SMTP id b21-20020a9d7555000000b0067058c8534cmr2648326otl.4.1670605512932; Fri, 09 Dec 2022 09:05:12 -0800 (PST) Return-Path: Received: from smtpclient.apple (pool-173-79-19-72.washdc.fios.verizon.net. [173.79.19.72]) by smtp.gmail.com with ESMTPSA id m10-20020ac866ca000000b003a611cb2a95sm1253116qtp.9.2022.12.09.09.05.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Dec 2022 09:05:12 -0800 (PST) From: Aaron Rosenzweig Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Date: Fri, 9 Dec 2022 12:05:11 -0500 Subject: How to get ERExtensions to compile in modern java? Message-Id: <1C4467E4-A541-4F0B-8096-098A9C6422E8@chatnbike.com> To: WebObjects & WOnder Development X-Mailer: Apple Mail (2.3696.120.41.1.1) I=E2=80=99m struggling to get ERExtensions to compile in newer java. If = we can figure this out, then it will help to get everything else to = compile as well.=20 ERExtensions works when compiling in java 1.8 but after that, it = probably doesn=E2=80=99t. I=E2=80=99m trying to do it with Java 17.=20 The immediate problem is with WOWebServicePatch.java in package = com.webobjects.appserver._private in ERExtensions. Reason: The package org.w3c.dom is accessible from more than one module: = , java.xml It=E2=80=99s trying to create an instance of =E2=80=9Corg.w3c.dom.Document= =E2=80=9D but cannot because it=E2=80=99s defined in multiple places = which fouls up Java Modules (JPMS Java Platform Module System).=20 In the past, having multiple jars that redefine an object was fine and = the first one wins. Now it=E2=80=99s an error (after Java 1.8).=20 It looks like =E2=80=9Corg.w3c.dom.Document=E2=80=9D is defined both in = JavaXML.framework (NeXT/Apple I believe) and also natively in Java 17.=20= So I removed =E2=80=9CJavaXML=E2=80=9D from the classpath to see what = would happen. It solved that problem but created more. It now doesn=E2=80=99= t know about: org.apache.axis I guess I could get axis.jar (1.4.1) but=E2=80=A6 wondering what is the = best course of action here. Any advice? Thank you, =E2=80=94 Aaron=