X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.6/26743) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from [40.107.244.75] (HELO NAM12-MW2-obe.outbound.protection.outlook.com) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.14) with ESMTPS id 29039530 for webobjects-dev@wocommunity.org; Thu, 08 Dec 2022 01:55:28 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=40.107.244.75; envelope-from=Ramsey.Gurley@practicemojo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fqSH/Z36j92ggBPCbjK9zx3XQSQuPx8q7xTbXXuV3H6sPzRq6Cr1dBv4UbA+Z51VMl1MHNOKBtSlAuW4cqdiIlAE2tqr+C9idp8pnSsbLKXE9gh4I4HjjDnkxkD7zswzDjcC97ij8l8MFyBms+fIiaIAQ8j4Zcv96E1Mz9kjMZLNSMc+TjXCaIDSrMb1jx0ABi6yIhDfHfrkmiSdiCdC/O1Qjiv24c7/H2iAdHqCAyB15Pb3yI6mVHQD0RCNSsvBGt0bApDWy4BdDVTWmqLbkzAiN5qxMSPhh06I3OzzoZtYG7kJ+umJUvezdDJb4Pd/AP8VUiyalP6qC8HTpCeycQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NG2PZguShjROMS345/04lIDTBlSzT8FA9laU9TDRLI0=; b=JKOG1WSttsRdZ7DdHibBkn+etJcYTBwmquYrTcwfhvKKymCi98PmqE16KVII1G9vQqxmoZs4HC/HOfbzi+m1ns2TiqLXjFTXNkgqhc6ojs2YLZ4kELUT3eKWSAB8qlmzCW2uYynkAWxBCWVLPcZIhNJOgSTbjkKlhC9qHVRBK5UFC1+CyugGwaKdoJsUFclbbt3TctcOK5lqI7FK7wdo+jxK6XjS2qe47XFmjlUkXWy7ONKgBFelMM1c4St8Ga61ONlnSqVAKMXXWoj0CIulOzTkV5fDOYPe2yKhGpdbrKAvV2Ifa3m43+7+rn/r0T17+jh8plJfwwFqZ6Xmg27hlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=practicemojo.com; dmarc=pass action=none header.from=practicemojo.com; dkim=pass header.d=practicemojo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prositesinc.onmicrosoft.com; s=selector2-prositesinc-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NG2PZguShjROMS345/04lIDTBlSzT8FA9laU9TDRLI0=; b=C8RwEP+ssEy3/+CFHhElEPn6ekxJNUsynyvY78Blc89nCEhkjNBxH9/qFzGyuLwOYmQDBbquilwNP0BrUG3sZ6W+z+RuJq6MMb6UEzpsMQUsHmOKP0/RIWSioI6bFeCkaq85twyjFU0PJZgvK6Tsg45DVR+8mhoTM6MdJFHf5U0= Received: from BYAPR18MB2534.namprd18.prod.outlook.com (2603:10b6:a03:12e::29) by PH7PR18MB5153.namprd18.prod.outlook.com (2603:10b6:510:158::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Thu, 8 Dec 2022 00:55:03 +0000 Received: from BYAPR18MB2534.namprd18.prod.outlook.com ([fe80::9e23:ee74:7a26:541d]) by BYAPR18MB2534.namprd18.prod.outlook.com ([fe80::9e23:ee74:7a26:541d%4]) with mapi id 15.20.5880.014; Thu, 8 Dec 2022 00:55:02 +0000 From: Ramsey Gurley To: WebObjects & WOnder Development Subject: Re: [WO-DEV] When add-exports ALL-UNNAMED is not enough (Java 17) Thread-Topic: [WO-DEV] When add-exports ALL-UNNAMED is not enough (Java 17) Thread-Index: AQHZCo1TgD2XJT/DtkuEdVH/3+0Gpq5jHh3n Date: Thu, 8 Dec 2022 00:55:02 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=practicemojo.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR18MB2534:EE_|PH7PR18MB5153:EE_ x-ms-office365-filtering-correlation-id: 37efd195-e0b9-493e-9b7a-08dad8b6d6d4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bD+NbmnVebr1sIjIuaCt6FwXvsl8HAUSDm2guK428glxQmGvWZMjJkBh6oFYLh2Og9w4m1C+hFPdZWoaInKbmC0Du2SWn8IZVdzuDxiEBWrMPRhe01KASh/+DHb6Zl1Zgd6xBkTWfAJvIGWsjgI/wC6DVF1AyVZPysNzsExUzB1DoIRHIaNFSLQDto/DArlGgH1b6IyB4X2fsBzTo37H0ARUKRlbmnwUUNXu3X1ykAuhMZctiwNetcknA/Lg4S99lHfvwUz8SXzMXzGR5ux+q1CKueCoQTJpUpVDzln4PdQCnaOidiNzmLthwgqPnQtONFIpKsWLjjgJQnlRaQXByXcK3TXQpCyhCuVGqzIGwylYGH7ivV2Dl5+4FbLU2AqG7yDaLQUyg55E7X/bCW5tqyAdXsDS0C+GPP9YlXBsf/NCJm7qjtzYx5xM4pJDZOPeYX8iZ9U/cO6KBDUc9EfDBOCcg+U6L/tJnW93YDkHWfJH63DjNEqETqpK8jW0RKcU/Ud4Uj4pWIwv2dihnOZjNm/u7T1+qFqPMBSW08Fo2OkNg3roRpeKTgUBTOZBNqT5ltwH5act21+1AN3HAyHy+nZn9PIa04tqh345PxyW4RW4ak3Ho0jzl+4Xe3a3zSZAMkjIuGLw2G6fzpx2PHg4+bEFGWTw/kxwu/5pUIstImWVwKGZnsRsZN9HYMCFIsWK3DksyweyGyNcFvek5dTdDxO83rQsYrLsbIufTE28GmU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR18MB2534.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39850400004)(376002)(346002)(136003)(396003)(366004)(451199015)(76116006)(66556008)(38070700005)(478600001)(66946007)(91956017)(122000001)(38100700002)(6506007)(2906002)(66476007)(64756008)(66446008)(7696005)(166002)(53546011)(8676002)(316002)(33656002)(19627235002)(71200400001)(6916009)(55016003)(966005)(86362001)(66899015)(83380400001)(19627405001)(8936002)(84970400001)(5660300002)(41300700001)(186003)(9686003)(26005)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?CHmOV+THpZxUjTxnqT5uMLNdBEWzgoqpEYLP5Hj/OQCDDDlb0dvuOK/v?= =?Windows-1252?Q?baf9zFQI89C6bfU8PNVQu6dE/DUQFs56xUpOv5qlpKYtdlElaIwYBlFm?= =?Windows-1252?Q?L9qe8DRxw/KSmLm5aidmOD83GwydlQ75xOcTfzJj/DwRuzLoBSww973S?= =?Windows-1252?Q?P1W5j7Gv7oRPjBekvZSenKixLFi1cypHHJYf1huO3suLVXvbBrMll+l5?= =?Windows-1252?Q?+mHQyIyxdE+2YY508ormzMI8mj9wjE5I39f1sFcVAuTMURH2JmOqO1DI?= =?Windows-1252?Q?fNRhc5UMZFNH6FRiedf/u6z+ZYkxxnFRS24wEVuQvz9hB85xN8y/tRJt?= =?Windows-1252?Q?GJAlVy+mmkLequEgc6vim/3AtXTg9fQcdO3DbBxxy9P+aw6XwmEhEXEo?= =?Windows-1252?Q?YS0eTRdrj/M3RrZ9VtKuzmGLYq6wm8JMSvodyd6+nv8vsBmOLoejVQbd?= =?Windows-1252?Q?CPG7DeDvuyd0MxDD2R8GXB02OFgxAWwwPZXp3C2QdFlFkdbC0AHOAHxI?= =?Windows-1252?Q?HJU0dGmo9lpDRztT3Mxhp1anlmYaqPY+ZSYyC2XPcIIPciyoiFIOKdgc?= =?Windows-1252?Q?ZL9EaZh3vuq0AlrM3xOhlSI+KIZsn5XHL4Tave2ab2A3vQPoQ6TY65gd?= =?Windows-1252?Q?VTxbIMoOMMs6gHKCWky98VldeQiWxtFViKDykxePxLKkbHgbCX3/fFNr?= =?Windows-1252?Q?4LClb/ciVL53TJMt+9gbhzumBnWRnpTRtVyc5WJ788u9yQR7kXloELs6?= =?Windows-1252?Q?GfYbMX4x7ALKT3suaP3/XPdPXrvGeGM5iJh/6r2CcyMPPCSTUVZ7i6Me?= =?Windows-1252?Q?KPpLNBtgmXlpk3pzOInGaljlOStr/pVkqlvZpUWf2xC8sZWcfo24tDp+?= =?Windows-1252?Q?ziFGCdnPC/aTEzo0gJG983GjcNjsnDqLb39sLjCtfLiC0cDKlA1RYAGQ?= =?Windows-1252?Q?TTJ/N+SR6plEbGWJnBTX+RG7/Uefsw4xs7ZOIcmLmW12rAAu2GrGUJxX?= =?Windows-1252?Q?4J9KcMUCzJawydkXvPLP39aFiqvglI67YiUxUnT9f4zDDMj8pjNM1//l?= =?Windows-1252?Q?4OPEMXP/XqTlKVs2wkkJSt3LY1cQvDSwBqiFL6bSDLUSRzTJMUR4S6CL?= =?Windows-1252?Q?COsYTklr31mNT1wOmhPYigva+GIEqjQB9a15cPj55eenZ8yXkxxvfZHZ?= =?Windows-1252?Q?oL7z1K7gCZHybKAsNvvRAPvdy5n5AFOmtHmXkNDXvGUjbx7v1maezV4O?= =?Windows-1252?Q?O+pwpp8T2OaRCLVRo1USCQZ8akfGg5YRswHP5U8ygwzal0TvnTMN8ohm?= =?Windows-1252?Q?11gf5tcQl5wAoABmK75jtFfYBsRY0ZdctYM6aTGQCzg5bTYApZ18H8Tw?= =?Windows-1252?Q?EyKgX8JvdB/7C479d9ZcuYa5wbFVBWOYdFsgr1D/5ZwO3ByKT3ubx1Qt?= =?Windows-1252?Q?SPZpEWNk9kCFWlJE8ayw5qUeTmi3CSA703AcEet4aYhWNeaqHTfazZWQ?= =?Windows-1252?Q?dK49Txw7gU/HbRxbN+9YnK+cUspk9gUOSUt9kGQtJeDzcBNYStYsuhnZ?= =?Windows-1252?Q?Zzx9bA5+7cmpVzYQqWt6mLUGr1UOW7Gko3BlZ8oPy/wD0y6ccH6sKXSG?= =?Windows-1252?Q?GSyo8Fd+ujGbWXvCa09MbY6zKzPR21rNqZGiAhNv4v3R5jFcmcfgfopj?= =?Windows-1252?Q?OuchN88yuNRnxdH7gLxOlBobkwqAaIzleLgZ82RczhTTKnwLs7Lazw?= =?Windows-1252?Q?=3D=3D?= Content-Type: multipart/alternative; boundary="_000_BYAPR18MB2534ED46839C5130988EBF5A861D9BYAPR18MB2534namp_" MIME-Version: 1.0 X-OriginatorOrg: practicemojo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR18MB2534.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37efd195-e0b9-493e-9b7a-08dad8b6d6d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2022 00:55:02.5939 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: de0a5129-99d3-4d35-a928-09047a134775 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PA5efGd4HqXqYELqPOPcFva/dcWEMcISUbhyTNMfJIsXL0mF7xJ5/+aq90BXwNvx+HCUgDPLe1DPBCC7LxmWp6t5II+XWBmXg25yiv8+pCo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR18MB5153 --_000_BYAPR18MB2534ED46839C5130988EBF5A861D9BYAPR18MB2534namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Aaron, I did some work on this about 3 months ago. Wonder's master branch should b= uild properly on latest Java with maven ($mvn clean install). It should als= o build in your eclipse workspace if you import them as maven projects. I t= hink the .project files are in the repo, so you may only need to import the= m and eclipse will figure out they are maven projects. I've also put togeth= er a sample wonder project that can run in your eclipse workspace or build = into a docker container at https://github.com/nullterminated/wodocker That's a bit old now and I have actually put together a maven archetype to = produce a project like that with a few improvements since then, but I haven= 't gotten around to publishing it anywhere. There has been some discussion = on the mailing list about adding one for D2W and a WOFramework and pushing = those three onto maven central. I just have the one Wonder App archetype at= the moment though. There's been a bit of discussion about making a new build with the recent c= hanges, but so far that hasn't been done. It should be simple enough to do,= but I don't have credentials on the wocommunity jenkins server to do that = myself. I used to have ssh to that, but I've long since lost that ssh key. https://github.com/wocommunity/wonder/discussions/996 Ramsey ________________________________ From: WebObjects & WOnder Development on b= ehalf of Aaron Rosenzweig Sent: Thursday, December 8, 2022 7:42 AM To: WebObjects & WOnder Development Subject: [WO-DEV] When add-exports ALL-UNNAMED is not enough (Java 17) [You don't often get email from aaron@chatnbike.com. Learn why this is impo= rtant at https://aka.ms/LearnAboutSenderIdentification ] Hi WOrriors, I=92m upgrading to Java 17 from Java 1.8 and have run into snags in my loca= l Eclipse workspace. Perhaps you=92ve struggled with this too? In general, this VM argument is helpful but not enough: --add-exports java.= base/sun.security.action=3DALL-UNNAMED The issue has to do with changes from Java 1.8 and java modules. I can use 1.8 compatibility mode with my workspace (from Java 17 VM) and th= ere are no errors and no problems. When I change to Java 17 compatibility mode, it falls apart. My java apps are ok, but many of the WOnder frameworks don=92t build anymor= e. For example ERAttachment. I have this error: The package org.xml.sax is acc= essible from more than one module: , java.xml To me that means that it is available in a system module =93java.xml=94 and= also in some old jar file=85 two places. I clicked on ERAttachment (in WO Explorer pane) and then right click to do = "build path" and then "configure build path." I then went to the last tab "= Module Dependencies" clicked "java.xml" and then clicked "remove." It gave = me warnings that other things use it but I did it anyway. Now the errors ar= e gone for org.xml.sax.Attributes and similar imports. Yay! I=92m not done yet but I did similar things as follows: =95 ERAttachment - remove java.xml =95 ERRest - remove java.xml =95 ERChangeNotificationJMS - remove java.naming =95 ExcelGenerator - remove java.xml =95 ERPDFGeneration - remove java.xml =95 ERSelenium - remove java.xml =95 ERXiss - remove java.xml =95 DRGrouping - remove java.xml =95 ERJaxWS - remove java.xml =95 ERProfiling - lost cause? jdk.internal.loader is inaccessible s= o I closed the project in my workspace (and am not currently using it). I=92m still coming to grips with all this but I have following unresolved a= nd possibly incorrectly stated questions: 1) Do most of us run with 1.8 compatibility in newer JVMs and leave it at t= hat? 2) Do some of us run with newer VM compatibility modes (to access new featu= res of Java) but then use =93ALL-UNNAMED=94 hacks along with removing syste= m module hacks like I was talking about above? 3) Do some of us use pre-built jars of Wonder and not build from source in = our Eclipse projects to get around some of these issues? But if so, that me= ans it=92s not as nice to just dive into the source code and quickly trace = / change things as we are working... 4) Should we consider putting WOnder frameworks into module friendly config= urations? Or is that not possible because we need to support Java 1.8 too? 5) What is the best way to use Java 17 VM along with any new java syntax / = functionality while still using WOnder frameworks? Thanks to all for reading this far :-) =97 Aaron ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to ________________________________ Confidentiality Notice: This email, including all attachments and replies t= hereto, are covered by the Electronic Communications Privacy Act, 18 U.S.C.= Sections 2510-2521 and are legally privileged. This information is confide= ntial, and intended only for the use of the individuals or entities named a= bove. If you are not the intended recipient, you are hereby notified that a= ny disclosure, copying, distribution or the taking of any action in relianc= e on the contents of this transmitted information is strictly prohibited. P= lease notify us if you have received this transmission in error. Thank you. --_000_BYAPR18MB2534ED46839C5130988EBF5A861D9BYAPR18MB2534namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi Aaron,

I did some work on this ab= out 3 months ago. Wonder's master branch should build properly on latest Java with maven ($mvn clean install). It s= hould also build in your eclipse workspace if you import them as maven proj= ects. I think the .project files are in the repo, so you may only need to i= mport them and eclipse will figure out they are maven projects. I've also put together a sample wonder projec= t that can run in your eclipse workspace or build into a docker container a= t



That's a bit old now and I have actually put together a maven archetype to = produce a project like that with a few improvements since then, but I haven= 't gotten around to publishing it anywhere. There has been some discussion = on the mailing list about adding one for D2W and a WOFramework and pushing those three onto maven central. = I just have the one Wonder App archetype at the moment though.

There's been a bit of discussion about making a new build with the recent c= hanges, but so far that hasn't been done. It should be simple enough to do,= but I don't have credentials on the wocommunity jenkins server to do that = myself. I used to have ssh to that, but I've long since lost that ssh key.


Ramsey

From: WebObjects & WOnd= er Development <webobjects-dev@wocommunity.org> on behalf of Aaron Ro= senzweig <aaron@chatnbike.com>
Sent: Thursday, December 8, 2022 7:42 AM
To: WebObjects & WOnder Development <webobjects-dev@wocommuni= ty.org>
Subject: [WO-DEV] When add-exports ALL-UNNAMED is not enough (Java 1= 7)
 
[You don't often get email from aaron@chatnbike.co= m. Learn why this is important at https://aka.ms/Le= arnAboutSenderIdentification ]

Hi WOrriors,

I=92m upgrading to Java 17 from Java 1.8 and have run into snags in my loca= l Eclipse workspace. Perhaps you=92ve struggled with this too?

In general, this VM argument is helpful but not enough: --add-exports java.= base/sun.security.action=3DALL-UNNAMED

The issue has to do with changes from Java 1.8 and java modules.

I can use 1.8 compatibility mode with my workspace (from Java 17 VM) and th= ere are no errors and no problems.

When I change to Java 17 compatibility mode, it falls apart.

My java apps are ok, but many of the WOnder frameworks don=92t build anymor= e.

For example ERAttachment. I have this error: The package org.xml.sax is acc= essible from more than one module: <unnamed>, java.xml

To me that means that it is available in a system module =93java.xml=94 and= also in some old jar file=85 two places.

I clicked on ERAttachment (in WO Explorer pane) and then right click to do = "build path" and then "configure build path." I then we= nt to the last tab "Module Dependencies" clicked "java.xml&q= uot; and then clicked "remove." It gave me warnings that other th= ings use it but I did it anyway. Now the errors are gone for org.xml.sax.Attributes= and similar imports. Yay!

I=92m not done yet but I did similar things as follows:
        =95 ERAttachment - remove java.x= ml
        =95 ERRest - remove java.xml
        =95 ERChangeNotificationJMS - re= move java.naming
        =95 ExcelGenerator - remove java= .xml
        =95 ERPDFGeneration - remove jav= a.xml
        =95 ERSelenium - remove java.xml=
        =95 ERXiss - remove java.xml
        =95 DRGrouping - remove java.xml=
        =95 ERJaxWS - remove java.xml         =95 ERProfiling - lost cause? jd= k.internal.loader is inaccessible so I closed the project in my workspace (= and am not currently using it).

I=92m still coming to grips with all this but I have following unresolved a= nd possibly incorrectly stated questions:

1) Do most of us run with 1.8 compatibility in newer JVMs and leave it at t= hat?

2) Do some of us run with newer VM compatibility modes (to access new featu= res of Java) but then use =93ALL-UNNAMED=94 hacks along with removing syste= m module hacks like I was talking about above?

3) Do some of us use pre-built jars of Wonder and not build from source in = our Eclipse projects to get around some of these issues? But if so, that me= ans it=92s not as nice to just dive into the source code and quickly trace = / change things as we are working...

4) Should we consider putting WOnder frameworks into module friendly config= urations? Or is that not possible because we need to support Java 1.8 too?<= br>
5) What is the best way to use Java 17 VM along with any new java syntax / = functionality while still using WOnder frameworks?

Thanks to all for reading this far :-)
=97 Aaron
#############################################################
This message is sent to you because you are subscribed to
  the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommuni= ty.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity= .org>
Send administrative queries to  <webobjects-dev-request@wocommunity= .org>


Confidentiality Notice: This email, including all attachments and= replies thereto, are covered by the Electronic Communications Privacy Act,= 18 U.S.C. Sections 2510-2521 and are legally privileged. This information = is confidential, and intended only for the use of the individuals or entities named above. If you are not the= intended recipient, you are hereby notified that any disclosure, copying, = distribution or the taking of any action in reliance on the contents of thi= s transmitted information is strictly prohibited. Please notify us if you have received this transmission in err= or. Thank you.
--_000_BYAPR18MB2534ED46839C5130988EBF5A861D9BYAPR18MB2534namp_--