Re: [VOTE] Release Apache Groovy 6.0.0-beta-3
"Milles, Eric (TR Technology) via dev" <dev-GSC0n/0aZo1d/SJB6HiN2Ni2O/[email protected]>
| Newsgroups | gmane.comp.lang.groovy.devel |
|---|---|
| Message-ID | <PH7PR03MB72247F92AF47A03D5B6EE7A28AAF2@PH7PR03MB7224.namprd03.prod.outlook.com> |
The old switch expression handling used to allow mixed yield and implied yield (see WEDNESDAY case below). Is it intentionally changed to "`yield` or `throw` is expected" error?
import java.time.DayOfWeek
import static java.time.DayOfWeek.*
void test(DayOfWeek day) {
int letterCount = switch (day) {
case MONDAY, FRIDAY, SUNDAY -> 6
case TUESDAY -> { 7 }
case THURSDAY, SATURDAY -> { yield 8 }
case WEDNESDAY -> { if (true) yield 9; else 0 }
default -> throw new IllegalStateException("Invalid day: $day")
}
}
________________________________
From: Paul King <[email protected]>
Sent: Monday, August 24, 2026 12:57 AM
To: Groovy_Developers <dev-GSC0n/0aZo1d/SJB6HiN2Ni2O/[email protected]>
Subject: [VOTE] Release Apache Groovy 6.0.0-beta-3
Dear development community, I am happy to start the VOTE thread for a Groovy 6. 0. 0-beta-3 release! This release includes 37 bug fixes/improvements as outlined in the changelog: https: //urldefense. com/v3/__https: //issues. apache. org/jira/secure/ReleaseNote. jspa?projectId=12318123&version=12357447__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2Tuy3uaaV-g$
Dear development community,
I am happy to start the VOTE thread for a Groovy 6.0.0-beta-3 release!
This release includes 37 bug fixes/improvements as outlined in the changelog:
https://urldefense.com/v3/__https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318123&version=12357447__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2Tuy3uaaV-g$
Tag: https://urldefense.com/v3/__https://gitbox.apache.org/repos/asf?p=groovy.git;a=tag;h=refs*tags*GROOVY_6_0_0_BETA_3__;Ly8!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuxufGrBRA$
Tag commit id: 17e0912576d4e50465cc8ce4052b131c27c64df0
The artifacts to be voted on are located as follows (r86936).
Source release:
https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/groovy/6.0.0-beta-3/sources__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2Tuxi2Lq2nw$
Convenience binaries:
https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/groovy/6.0.0-beta-3/distribution__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuyWcQLw1g$
Temporary artifacts:
https://urldefense.com/v3/__https://repository.apache.org/content/repositories/orgapachegroovy-1119__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuzVsL2gaA$
Release artifacts are signed with a key from the following file:
https://urldefense.com/v3/__https://dist.apache.org/repos/dist/release/groovy/KEYS__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuxP7GYDKA$
Please vote on releasing this package as Apache Groovy 6.0.0-beta-3.
Reminder on ASF release approval requirements for PMC members:
https://urldefense.com/v3/__http://www.apache.org/legal/release-policy.html*release-approval__;Iw!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuxYwBIv2A$
Hints on validating checksums/signatures (but replace md5sum with sha256sum):
https://urldefense.com/v3/__https://www.apache.org/info/verification.html__;!!GFN0sa3rsbfR8OLyAw!fZc7vT-vpn0A62KwAzGKjSakWujPaAd5tuTujs1_MNnlVZsYYKV55pl06bNGhWWyJ_AHk9cGSRn2TuxKVL_LEQ$
The vote is open for the next 72 hours and passes if a majority of at
least three +1 PMC votes are cast.
[ ] +1 Release Apache Groovy 6.0.0-beta-3
[ ] 0 I don't have a strong opinion about this, but I assume it's ok
[ ] -1 Do not release Apache Groovy 6.0.0-beta-3 because...
Here is my vote:
+1 (binding)