Re: [EXTERNAL] Re: Java upgrade question

2024-04-05 Thread Morris, Mark via Webobjects-dev
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 
Date: Friday, April 5, 2024 at 4:26 PM
To: webobjects-dev@lists.apple.com , 
webobjects-...@wocommunity.org 
Subject: [EXTERNAL] Re: Java upgrade question
Hi Mark, On 6 Apr 2024, at 6: 55 am, Morris, Mark via Webobjects-dev 
 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 
mailto: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<https://urldefense.com/v3/__http:/build.properties__;!!MfzFaTml5A!kVqrmx58oqFRWdQNqzkgLBMqSjN9BNTffYpBV39CThLDnVveU0G69UQ1s-GThu7W_bSsufTI2G1LRfZyhX0cDO0ULtrRVWo$>,
 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.


--
Paul Hoadley
https://logicsquad.net/<https://urldefense.com/v3/__https:/logicsquad.net/__;!!MfzFaTml5A!kVqrmx58oqFRWdQNqzkgLBMqSjN9BNTffYpBV39CThLDnVveU0G69UQ1s-GThu7W_bSsufTI2G1LRfZyhX0cDO0UsW_UjCk$>
https://www.linkedin.com/company/logic-squad/<https://urldefense.com/v3/__https:/www.linkedin.com/company/logic-squad/__;!!MfzFaTml5A!kVqrmx58oqFRWdQNqzkgLBMqSjN9BNTffYpBV39CThLDnVveU0G69UQ1s-GThu7W_bSsufTI2G1LRfZyhX0cDO0Ur76lVjQ$>

 ___
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


Re: Java upgrade question

2024-04-05 Thread Paul Hoadley via Webobjects-dev
Hi Mark,

On 6 Apr 2024, at 6:55 am, Morris, Mark via Webobjects-dev 
 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.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

 ___
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


Java upgrade question

2024-04-05 Thread Morris, Mark via Webobjects-dev

Hi all,

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…).

Thanks!
--
Mark
 ___
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