|
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 <webobjects-dev@wocommunity.org> wrote:
>
> Can we add DCEVM to this version of Java?
>
> Ted
>
>> On Sep 25, 2021, at 1:00 PM, Hugi Thordarson <webobjects-dev@wocommunity.org> wrote:
>>
>> Hi Theodore,
>> to make JDK 17 happy you'll have to add this to your launch configuration's VM arguments:
>>
>> --add-exports java.base/sun.security.action=ALL-UNNAMED
>>
>> Cheers,
>> - hugi
>>
>>
>>> On 25 Sep 2021, at 16:54, Theodore Petrosky <webobjects-dev@wocommunity.org> wrote:
>>>
>>> I just created a new D2W app with a separate framework for the model.
>>>
>>> This is my first time building (debug) in eclipse a new app. My old apps build and run fine. Here is my error:
>>>
>>> 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(NSTimestampFormatter.java:734)
>>> at com.webobjects.appserver.WOStatisticsStore.<clinit>(WOStatisticsStore.java:249)
>>> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:853)
>>> at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:30)
>>> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1129)
>>> at com.tedpet.Application.<init>(Application.java:11)
>>> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
>>> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
>>> at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
>>> at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.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)
>>>
>>> I am using jdk-17.jdk.
>>>
>>> Is this just a configuration error.
>>>
>>> Ted
>>> #############################################################
>>> 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@wocommunity.org>
>>> To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
>>> Send administrative queries to <webobjects-dev-request@wocommunity.org>
>>>
>>
>>
>> #############################################################
>> 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@wocommunity.org>
>> To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
>> Send administrative queries to <webobjects-dev-request@wocommunity.org>
>>
>
>
> #############################################################
> 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@wocommunity.org>
> To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
> Send administrative queries to <webobjects-dev-request@wocommunity.org>
>
|
|