X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "Hugi Thordarson" Received: from mail-03.1984.is ([93.95.224.70] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26582303 for webobjects-dev@wocommunity.org; Sun, 10 Oct 2021 11:24:03 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=93.95.224.70; envelope-from=hugi@karlmenn.is Received: from localhost by mail-03.1984.is with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZV3U-0007ev-Km for webobjects-dev@wocommunity.org; Sun, 10 Oct 2021 09:23:40 +0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [WO-DEV] New project help Date: Sun, 10 Oct 2021 09:23:40 +0000 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <59B1F637-7A7F-4983-9B56-6E161198BE1D@karlmenn.is> X-Mailer: Apple Mail (2.3654.120.0.1.13) I understand JetBrains has created a v17 release of their JDK with the = DCEVM patches included, but it seems their v17s are still still only = available as source download so I haven't tried them out yet. The DCEVM/TravaOpenJDK maintainer has stated that he will create a = release for JDK 17, so my current policy is to wait for that a bit: = https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/issues/46#issuecomment-= 873986720 I'm still using JDK 11 source/api compatibility in most projects due to = this (although I'm deploying on 17), so if you see anything exciting = about this I'd love to hear about it :). Cheers, - hugi > On 9 Oct 2021, at 17:21, Theodore Petrosky = wrote: >=20 > Can we add DCEVM to this version of Java?=20 >=20 > Ted >=20 >> On Sep 25, 2021, at 1:00 PM, Hugi Thordarson = wrote: >>=20 >> Hi Theodore, >> to make JDK 17 happy you'll have to add this to your launch = configuration's VM arguments: >>=20 >> --add-exports java.base/sun.security.action=3DALL-UNNAMED >>=20 >> Cheers, >> - hugi >>=20 >>=20 >>> On 25 Sep 2021, at 16:54, Theodore Petrosky = wrote: >>>=20 >>> I just created a new D2W app with a separate framework for the = model. >>>=20 >>> This is my first time building (debug) in eclipse a new app. My old = apps build and run fine. Here is my error: >>>=20 >>> Sep 25 12:43:10 VendorInvoices[52462] WARN NSLog - A fatal = exception occurred: class com.webobjects.foundation.NSTimeZone (in = unnamed module @0x1a27aae3) cannot access class = sun.security.action.GetPropertyAction (in module java.base) because = module java.base does not export sun.security.action to unnamed module = @0x1a27aae3 >>> at = com.webobjects.foundation.NSTimeZone.systemTimeZone(NSTimeZone.java:971) >>> at = com.webobjects.foundation.NSTimeZone.defaultTimeZone(NSTimeZone.java:818) >>> at = com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTim= estampFormatter.java:734) >>> at = com.webobjects.appserver.WOStatisticsStore.(WOStatisticsStore.java= :249) >>> at = com.webobjects.appserver.WOApplication.(WOApplication.java:853) >>> at = er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.= java:30) >>> at = er.extensions.appserver.ERXApplication.(ERXApplication.java:1129) >>> at com.tedpet.Application.(Application.java:11) >>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(= Native Method) >>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(N= ativeConstructorAccessorImpl.java:77) >>> at = java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstan= ce(DelegatingConstructorAccessorImpl.java:45) >>> at = java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.= java:499) >>> at = java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:1= 28) >>> at = java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFac= tory.java:347) >>> at java.base/java.lang.Class.newInstance(Class.java:645) >>> at = com.webobjects.appserver.WOApplication.main(WOApplication.java:547) >>> at = er.extensions.appserver.ERXApplication.main(ERXApplication.java:890) >>> at com.tedpet.Application.main(Application.java:8) >>>=20 >>> I am using jdk-17.jdk. >>>=20 >>> Is this just a configuration error. >>>=20 >>> Ted >>> ############################################################# >>> 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 = >>>=20 >>=20 >>=20 >> ############################################################# >> 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 = >>=20 >=20 >=20 > ############################################################# > 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 = >=20