[External] : Re: Naming of StructuredTaskScope.Subtask.State
Chen Liang
chen.l.liang at oracle.com
Mon Dec 2 21:42:41 UTC 2024
Hi Masoud,
As you can see in JEP 499 (https://openjdk.org/jeps/499), there is no change in the 4th preview.
Originally, it was planned to make STS an interface (see https://github.com/openjdk/loom/commit/3996f6c9e930e941076a33a1b58ebc7e475285c8) in the 4th preview; Alan seems to have deferred these changes to a 5th preview per https://github.com/openjdk/jdk/pull/21934, most likely due to various cleanup after the integration of JEP 486, the removal of Security Manager.
Regarding Java 25: Note that according to the tip-and-tail release model (https://openjdk.org/jeps/14), stability/compatibility and features are in a tradeoff - expecting exactly the feature you want from the tip to be available in a stability/compatibility tail is wishful thinking, especially for time-based release projects like the JDK. In the meantime, JDK has introduced enhancements such as the Class-File API (https://openjdk.org/jeps/484) to make updating to new Java releases (25.0.2 -> 26) as simple as updating to a new security patch in an LTS (25.0.2 -> 25.0.3), so the worries about staying on an LTS for ease of security updates can finally go away.
Regards,
Chen Liang
________________________________
From: masoud parvari <masoud.parvari at gmail.com>
Sent: Monday, December 2, 2024 2:26 PM
To: Chen Liang <chen.l.liang at oracle.com>
Cc: loom-dev at openjdk.org <loom-dev at openjdk.org>; rfscholte at apache.org <rfscholte at apache.org>
Subject: [External] : Re: Naming of StructuredTaskScope.Subtask.State
Is the 5th preview already decided or we might get the GA with Java 25?
On Mon, Dec 2, 2024 at 9:16 PM Chen Liang <chen.l.liang at oracle.com<mailto:chen.l.liang at oracle.com>> wrote:
I agree; I recommend changing SUCCESS to SUCCESSFUL in the 5th preview.
________________________________
From: loom-dev <loom-dev-retn at openjdk.org<mailto:loom-dev-retn at openjdk.org>> on behalf of Robert Scholte <rfscholte at apache.org<mailto:rfscholte at apache.org>>
Sent: Sunday, December 1, 2024 1:11 PM
To: loom-dev at openjdk.org<mailto:loom-dev at openjdk.org> <loom-dev at openjdk.org<mailto:loom-dev at openjdk.org>>
Subject: Naming of StructuredTaskScope.Subtask.State
Currently the states have been named Failed, Success and Unavailable, which are grammatically different types.
I think there are discussions if states should be nouns or a verbs, but I don’t think it should be a mixture.
I would expect Success + Failure or Succeeded + Failed.
Maybe there are even better options.
Thanks,
Robert Scholte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20241202/07273a95/attachment-0001.htm>
More information about the loom-dev
mailing list