Mailing List webobjects-dev@wocommunity.org Message #505
From: Morris, Mark <Mark.Morris@experian.com>
Subject: Re: [EXTERNAL] Re: Java upgrade question
Date: Fri, 5 Apr 2024 21:37:18 +0000
To: Paul Hoadley <paulh@logicsquad.net>, webobjects-dev@lists.apple.com <webobjects-dev@lists.apple.com>, webobjects-dev@wocommunity.org <webobjects-dev@wocommunity.org>

Hi Paul,

 

Thanks, that’s great to hear! There was some concern expressed a while back that it might be impossible to move past Java 8 because of a change to the way classes are loaded. I’m definitely glad that turned out not to be the case!

 

Take care,

Mark

 

From: Paul Hoadley via Webobjects-dev <webobjects-dev@lists.apple.com>
Date: Friday, April 5, 2024 at 4:26
PM
To: webobjects-dev@lists.apple.com <webobjects-dev@lists.apple.com>, webobjects-dev@wocommunity.org <webobjects-dev@wocommunity.org>
Subject: [EXTERNAL] Re: Java upgrade question

Hi Mark, On 6 Apr 2024, at 6:55 am, Morris, Mark via Webobjects-dev <webobjects-dev@lists.apple.com> wrote: I’ve been trying to research (old messages, Google, etc.), but I don’t think I’ve found anything definitive. I know at least at

Hi Mark,

 

On 6 Apr 2024, at 6:55 am, Morris, Mark via Webobjects-dev <webobjects-dev@lists.apple.com> wrote:

 

I’ve been trying to research (old messages, Google, etc.), but I don’t think I’ve found anything definitive.

 

I know at least at one point there was an issue migrating past Java 8, due to the way WOnder patches/extends Apple’s frameworks. Has that been resolved or worked around? We would like to totally get rid of Java 8, and move to Java 11 (or 17, or 21…).

 

Plenty of people have moved beyond Java 8. We've been using Java 21 since soon after it was released. About the only thing you'll need to do is add some JVM options in build.properties, such as:

 

jvmOptions=--add-exports java.base/sun.security.action=ALL-UNNAMED --add-exports java.base/sun.util.calendar=ALL-UNNAMED

 

I'm struggling to think of much else that was required. It was certainly an easier transition than I thought it was going to be.

 

 

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster