You probably want to alter build.properties
jvmOptions=--add-exports=java.base/sun.security.action=ALL-UNNAMED
For example see pull request
https://github.com/wocommunity/wonder/pull/998 for wotaskd and JavaMonitor
On 22/4/23 07:24, Kwasi O-Ahoofe via Webobjects-dev wrote:
How do I correct this for an WOLips Installed Project Wonder
Application?:
Error Message is:
2023-04-21 17:18:22,674 {MMM dd HH:mm:ss}
ProjectComplianceWonderProduction[64177] WARN NSLog - A fatal
exception occurred: class com.webobjects.foundation.NSTimeZone (in
unnamed module @0x6f3c660a) cannot access class
sun.security.action.GetPropertyAction (in module java.base) because
module java.base does not export sun.security.action to unnamed module
@0x6f3c660a
[2023-4-21 17:18:22 EDT] <main> java.lang.IllegalAccessError: class
com.webobjects.foundation.NSTimeZone (in unnamed module @0x6f3c660a)
cannot access class sun.security.action.GetPropertyAction (in module
java.base) because module java.base does not export
sun.security.action to unnamed module @0x6f3c660a
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)
.
.
APPLICATION SHUTDOWN SEQUENCE COMPLETE
Thanks
Kwasi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
This email sent to...@triptera.com.au
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com