RE: [EXT] [VOTE] Release Apache Groovy 2.5.18

2022-07-20 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Tuesday, July 19, 2022 8:33 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 2.5.18 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a

RE: [EXT] [VOTE] Release Apache Groovy 3.0.12

2022-07-20 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Tuesday, July 19, 2022 9:08 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.12 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a

RE: [EXT] [VOTE] Release Apache Groovy 4.0.4

2022-07-20 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Wednesday, July 20, 2022 1:40 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.4 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a

RE: [EXT] [VOTE] Release Apache Groovy 4.0.5

2022-09-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Re: Groovy 4 parser bug?

2022-09-08 Thread Milles, Eric (TR Technology) via dev
Best to open a new Jira ticket for this. There were a number of scenarios that had to be handled for safe-indexing versus ternary expression. Looks like there are still some out there. Here is one example: https://issues.apache.org/jira/browse/GROOVY-9561 https://issues.apache.org/jira/projec

RE: [EXT] [VOTE] Release Apache Groovy 3.0.13

2022-09-15 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] indexing inconsistecy: bug or intentional?

2022-09-19 Thread Milles, Eric (TR Technology) via dev
This has been reported under a few different guises. There are some other tickets for ranges and negative indexes. https://issues.apache.org/jira/browse/GROOVY-6193 https://issues.apache.org/jira/browse/GROOVY-4652 https://issues.apache.org/jira/browse/GROOVY-1740 https://issues.apache.org/jira/b

RE: [EXT] GRECLIPSE: ASTT processing through later compile phases

2022-09-21 Thread Milles, Eric (TR Technology) via dev
I think these are the relevant cites (below). Long story short, due to the potential for circular dependencies, the Groovy is processed minimally to be able to generate “stub” information that the Java compiler can use to make links. I have run some experiments where there is more stages of co

RE: [EXT] Re: [DISCUSS] Groovy 5 planning

2022-10-13 Thread Milles, Eric (TR Technology) via dev
Just a quick update on this. The current Groovy 5 branch has been moved to JDK11 minimum. We have started to make use of new Java APIs and removed target bytecode support below 11. Enhancements/fixes currently in Groovy 5: https://issues.apache.org/jira/issues/?jql=project+%3D+GROOVY+AND+fixV

RE: [EXT] [VOTE] Release Apache Groovy 2.5.19

2022-10-13 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Wednesday, October 12, 2022 10:59 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 2.5.19 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread

RE: [EXT] Re: [VOTE] Release Apache Groovy 4.0.6

2022-10-14 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Guillaume Laforge Sent: Friday, October 14, 2022 1:23 AM To: [email protected] Subject: [EXT] Re: [VOTE] Release Apache Groovy 4.0.6 External Email: Use caution with links and attachments. +1 (binding) On Thu, Oct 13, 2022 at 8:46 PM Andres Almiray mailto:aalmi...@gmail

RE: [EXT] Re: Disabling auto inferencing

2022-12-05 Thread Milles, Eric (TR Technology) via dev
GROOVY-9064 [1] has further discussion on this topic. It is also the cause for GROOVY-10120 [2] for us. The interface type carries proper generics info but the override method on the implementation class has none (for some odd reason). [1] https://issues.apache.org/jira/browse/GROOVY-9064 [2]

RE: [EXT] Possible additional DGM collectEntries variants

2022-12-19 Thread Milles, Eric (TR Technology) via dev
True, no direct equivalents for associateBy and associateWithValue. But "collectEntries{ [it.toLowerCase(), it] }" is pretty succinct. If you wanted to extend with just one new extension of collectEntries, I think ".collectEntries(keyFun, Function.identity())" and ".collectEntries(Function.ide

RE: [EXT] Re: [VOTE] Release Apache Groovy 2.5.20

2022-12-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Re: [VOTE] Release Apache Groovy 3.0.14

2022-12-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Re: [VOTE] Release Apache Groovy 4.0.7

2022-12-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Re: Request for 4.0.8

2023-01-03 Thread Milles, Eric (TR Technology) via dev
You have the option of rolling back to 4.0.6 if 4.0.7 is a blocker. And in the specific case of GROOVY-10890, you can provide type arguments instead of using diamond constructor. I would like to get some more burn in time for 4.0.7 -- there are lots of users on holiday break in December. Migh

RE: [EXT] Next releases

2023-01-12 Thread Milles, Eric (TR Technology) via dev
I had a developer comment that Java 19 required an update from Groovy 3 to Groovy 4 (due to ASM). Where are we with regards to ASM versions for Groovy 2.5, 3.0, 4.0 and 5.0?

RE: [EXT] Next releases

2023-01-13 Thread Milles, Eric (TR Technology) via dev
> quite a lot of changes are required to support Java 16+ Yes, for proper proxy and default method support there are a lot of changes. Not asking for a backport on that stuff. ASM 9.4 is required to parse the class files created by Java 19 target. FYI, I updated ASM from 9.3 to 9.4 for Groov

RE: [EXT] [VOTE] Release Apache Groovy 4.0.8

2023-01-19 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] [VOTE] Release Apache Groovy 2.5.21

2023-01-19 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Next release(s)

2023-02-01 Thread Milles, Eric (TR Technology) via dev
Paul, I'd like to get a fix in for GROOVY-10911 before the deadline. I haven't gotten to it yet, but the submitter has now provided a recreation script, so it should take more than another day. From: Paul King Sent: Wednesday, February 1, 2023 6:43 AM To: Groovy_Developers Subject: [EXT] Ne

RE: [EXT] [VOTE] Release Apache Groovy 3.0.15

2023-02-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Sunday, February 5, 2023 2:30 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.15 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 3.0.15 release! T

RE: [EXT] [VOTE] Release Apache Groovy 4.0.9

2023-02-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Sunday, February 5, 2023 5:09 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.9 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 4.0.9 release! Thi

RE: [EXT] Workaround for large enum throwing MethodTooLargeException ?

2023-02-25 Thread Milles, Eric (TR Technology) via dev
These are workaround ideas, so please excuse the design choices. // anonymous inner approach enum E { A() { final String thing = "DEV_PR" // add read-only properties or getter methods for Type1.M2, Type1.DEVELOPER, "Progr", "Programmer", [cat.WHITE_COLLAR, cat.PROPELLERHEAD] }, B() {

RE: [EXT] Workaround for large enum throwing MethodTooLargeException ?

2023-02-25 Thread Milles, Eric (TR Technology) via dev
Another thought would be to convert this code-based design to a data-driven approach. Would an in memory database or a JSON/XML resource file be a better place to represent and store the 1200+ entities? -Original Message- From: Milles, Eric (TR Technology) Sent: Saturday, February 25,

RE: [EXT] [VOTE] Release Apache Groovy 3.0.16

2023-03-09 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Wednesday, March 8, 2023 11:40 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.16 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 3.0.16 release!

RE: [EXT] [VOTE] Release Apache Groovy 4.0.10

2023-03-09 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Thursday, March 9, 2023 1:22 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.10 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 4.0.10 release! Th

RE: [EXT] [VOTE] Release Apache Groovy 2.5.22

2023-03-28 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] [VOTE] Release Apache Groovy 3.0.17

2023-03-28 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] [VOTE] Release Apache Groovy 4.0.11

2023-03-29 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Duplicate visits to expressions defined in RHS of a setter

2023-04-03 Thread Milles, Eric (TR Technology) via dev
You can try visiting at an earlier compile phase (maybe before instruction selection) to see the AST before some SC transforms are applied. Otherwise, I have used the source location as a key to understand if something is coming in again. Often generated methods will include some of the source

RE: [EXT] wrong work with property names in newer 4's

2023-04-23 Thread Milles, Eric (TR Technology) via dev
It is described in GROOVY-9382, GROOVY-10133, GROOVY-10707, GROOVY-10821 and possibly others. """ This was an intentional change for Groovy 4. There was much discussion and it was noted as a breaking change, but may not have been that prominent in the release notes. There are a few edge cases l

RE: [EXT] [VOTE] Release Apache Groovy 4.0.12

2023-05-04 Thread Milles, Eric (TR Technology) via dev
There is one regression caused by the change for GROOVY-11029. I am testing a fix. The workaround is to remove static compilation or to write "other = 'value'" as "it.other = 'value'" so the "owner.delegate" gets applied properly. class Bar { @groovy.beans.Bindable String baz String othe

RE: [EXT] [VOTE] Release Apache Groovy 4.0.12

2023-05-04 Thread Milles, Eric (TR Technology) via dev
-1 Bug below filed and fixed: https://issues.apache.org/jira/browse/GROOVY-11044 groovy-4.0.12.jar!META-INF/services/org.codehaus.groovy.transform.ASTTransformation is blank, which breaks @Grab annotations From: Milles, Eric (TR Technology) via dev Sent: Thursday, May 4, 2023 12:29 PM To

RE: [EXT] [VOTE] Release Apache Groovy 4.0.12 (Take 2)

2023-05-05 Thread Milles, Eric (TR Technology) via dev
+1 (binding)

RE: [EXT] Re: Harmless ctor call takes 100 ms - trait dependent problem ?

2023-05-09 Thread Milles, Eric (TR Technology) via dev
Would it be possible to boil this down to a small sample project? It is tough to diagnose and then try out possible fixes without a good test harness. There is definitely a lot of code in your TBKMS_Table constructor. There is a lot of weird stuff in there to unpack.

RE: [EXT] [DRAFT] Apache Groovy Board Report May 2023 (reporting on Feb/Mar/Apr)

2023-05-09 Thread Milles, Eric (TR Technology) via dev
The recent releases section looks to be for the last report. From: Paul King Sent: Tuesday, May 9, 2023 7:18 AM To: Groovy_Developers Subject: [EXT] [DRAFT] Apache Groovy Board Report May 2023 (reporting on Feb/Mar/Apr) External Email: Use caution with links and attachments. Hi Folks, Any o

RE: [EXT] Groovy HEAD & JDK21

2023-06-15 Thread Milles, Eric (TR Technology) via dev
> how [t]o do this ... "gradlew publishToMavenLocal" Does "gradlew install" or "gradlew publish" put the snapshot artifacts in your local maven repository?

RE: [EXT] [VOTE] Release Apache Groovy 3.0.18

2023-06-26 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, June 26, 2023 1:51 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.18 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 3.0.18 release! This

RE: [EXT] [VOTE] Release Apache Groovy 4.0.13

2023-06-26 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, June 26, 2023 1:32 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.13 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 4.0.13 release! This

RE: [EXT] Re: Joint Compilation Limits and Alternatives

2023-06-29 Thread Milles, Eric (TR Technology) via dev
>> Thanks for raising that issue. It has been a limitation for some folks for >> quite a while. I am very keen to improve our joint compilation process if we >> can. > > I was actually wondering if someone really still cares. I do get issues quite often (for groovy-eclipse tooling) that expect

RE: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-1

2023-08-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Friday, August 18, 2023 9:21 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-1 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 5.0.0-alpha-

RE: [EXT] [ANNOUNCE] Apache Groovy 4.0.14 Released

2023-08-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Tuesday, August 22, 2023 1:16 AM To: [email protected]; [email protected]; [email protected] Subject: [EXT] [ANNOUNCE] Apache Groovy 4.0.14 Released External Email: Use caution with links and attachments. Dear community,

RE: [EXT] [VOTE] Release Apache Groovy 4.0.14

2023-08-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Friday, August 18, 2023 10:18 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.14 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 4.0.14 release! T

RE: [EXT] [VOTE] Release Apache Groovy 3.0.19

2023-08-22 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Friday, August 18, 2023 11:52 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.19 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for a Groovy 3.0.19 release! T

RE: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-2

2023-09-11 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Monday, September 11, 2023 3:21 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-2 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE th

RE: [EXT] [VOTE] Release Apache Groovy 4.0.15

2023-09-13 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Monday, September 11, 2023 4:25 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.15 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread fo

RE: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-3

2023-11-27 Thread Milles, Eric (TR Technology) via dev
+1 (binding) Here is an additional case that works now given the changes to support interface default methods. The "A.super.m()" call was previously flagged as an error but can now be correctly used to disambiguate "m()". Main.groovy import p.* @groovy.transform.Compil

RE: [EXT] [VOTE] Release Apache Groovy 4.0.16

2023-11-28 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Sunday, November 26, 2023 2:58 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.16 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for

RE: [EXT] [VOTE] Release Apache Groovy 3.0.20

2023-12-19 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Monday, December 18, 2023 8:54 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.20 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for

RE: [EXT] [VOTE] Release Apache Groovy 4.0.17

2023-12-19 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Monday, December 18, 2023 8:28 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.17 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread for

RE: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-4

2023-12-19 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Monday, December 18, 2023 7:08 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-4 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thr

RE: [EXT] [VOTE] Release Apache Groovy 4.0.18

2024-01-16 Thread Milles, Eric (TR Technology) via dev
+1 (binding) NOTE: The fix for GROOVY-8854 / GROOVY-11267 caused a regression in GROOVY-8272 / GROOVY-10312 (super trait static method). I don't think it's enough to hold up the release. -Original Message- From: Paul King Sent: Monday, January 15, 2024 9:26 PM To: Groovy_Developers

RE: [EXT] [VOTE] Release Apache Groovy 4.0.18

2024-01-16 Thread Milles, Eric (TR Technology) via dev
The change to roll back 8854/11267 is quite small if you'd prefer to go that route. -Original Message- From: Milles, Eric (TR Technology) Sent: Tuesday, January 16, 2024 1:58 PM To: [email protected] Subject: RE: [EXT] [VOTE] Release Apache Groovy 4.0.18 +1 (binding) NOTE: The fix

RE: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-5

2024-01-17 Thread Milles, Eric (TR Technology) via dev
+1 (binding) -Original Message- From: Paul King Sent: Tuesday, January 16, 2024 5:47 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-5 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thr

RE: Questions regarding implementation approach for GROOVY-11294

2024-01-22 Thread Milles, Eric (TR Technology) via dev
Can you just wrap what is presently returned with a call to Collections.unmodifiableList or Collections.unmodifiableMap? If the return values of toList() or toMap() from a record do not link to any internal state, what is the concern if they are mutable or not? From: Oscar N Sent: Monday, Jan

RE: Questions regarding implementation approach for GROOVY-11294

2024-01-22 Thread Milles, Eric (TR Technology) via dev
of a moot point. I suppose the main benefit is performance-wise again, as the immutable List/Map could be cached. ____ From: Milles, Eric (TR Technology) via dev mailto:[email protected]>> Sent: 22 January 2024 16:04 To: [email protected]<mailto:de

RE: [EXT] ClassFile API

2024-01-22 Thread Milles, Eric (TR Technology) via dev
The new Class File API is for reading not writing, correct? With that in mind, I think only the ASM decompile package (org.codehaus.groovy.ast.decompiled) is under consideration. There are already 2 paths taken by ClassNodeResolver tryAsLoaderClassOrScript. Adding a third option there that is

RE: [EXT] Re: ClassFile API

2024-01-23 Thread Milles, Eric (TR Technology) via dev
An API like this works fine for straightline code. But if you need to add instructions conditionally, repeat blocks for additional instances, or other complex scenarios; builders can quickly break down. I would wait to see how the class file api shakes out before turning over nearly all of cla

RE: Questions regarding implementation approach for GROOVY-11294

2024-01-23 Thread Milles, Eric (TR Technology) via dev
th of the array, so for optimal performance it's unfortunately not as simple as one method for all lists on one Java version and another method on a different version. ________________ From: Milles, Eric (TR Technology) via dev mailto:[email protected]>> Sent: 22 Ja

Re: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-6

2024-02-27 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Tuesday, February 27, 2024 1:45 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-6 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOT

Re: [EXT] [VOTE] Release Apache Groovy 4.0.19

2024-02-27 Thread Milles, Eric (TR Technology) via dev
+1 (binding) There is a jar with a "raw" classifier in the distribution. It was not present in 4.0.18. [cid:b53c9e4a-1835-49e7-b9aa-8fc09812fef7] From: Paul King Sent: Tuesday, February 27, 2024 4:41 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apac

Re: [EXT] [VOTE] Release Apache Groovy 4.0.19

2024-02-28 Thread Milles, Eric (TR Technology) via dev
Full disclosure, there is a regression in the test case for GROOVY-7456. The unit test did not catch it since it runs with static compilation on. Setting it to dynamic mode reproduces the runtime error: groovy.lang.MissingMethodException: No signature of method: C.g() is applicable for argume

Re: [EXT] [VOTE] Release Apache Groovy 3.0.21

2024-02-28 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Tuesday, February 27, 2024 5:09 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.21 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE threa

Re: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-7

2024-03-12 Thread Milles, Eric (TR Technology) via dev
It does not look like the "raw" fix worked fully. [cid:3ee4e54f-26b6-4432-9122-c21b2708b19a] From: Paul King Sent: Sunday, March 10, 2024 6:04 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-7 External Email: Use caution with lin

Re: [EXT] [VOTE] Release Apache Groovy 4.0.20

2024-03-12 Thread Milles, Eric (TR Technology) via dev
Same goes for 4.0.20 [cid:7e7a6a1b-cd45-499c-b538-5fc3424defc1] From: Paul King Sent: Sunday, March 10, 2024 7:16 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.20 External Email: Use caution with links and attachments. Dear developmen

Re: [EXT] Re: [GSoC 2024] Idea: A Basic Superset of Java | Java+

2024-03-26 Thread Milles, Eric (TR Technology) via dev
There is so much to unpack here. I'll likely miss key points here, but wanted to add a couple. 1. If your goal is to add some ability directly to Java, then a library or an annotation processor like Vavr or Lombok respectively may be a better approach. These integrate directly into Java pr

Re: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-8

2024-04-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Friday, April 5, 2024 11:18 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-8 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE th

Re: [EXT] [VOTE] Release Apache Groovy 4.0.21

2024-04-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Saturday, April 6, 2024 12:32 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.21 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread

Re: [EXT] Re: Potential enhancement to type checking extensions

2024-04-09 Thread Milles, Eric (TR Technology) via dev
For me, adding hooks into visitBinaryExpression is the way to go – I think that is your option 3. The type-checker could be looking up the method name associated with the binary operator and then checking as a method call. It looks like all that is missing and getResultType indicates that all

Re: [EXT] weird error report

2024-05-13 Thread Milles, Eric (TR Technology) via dev
When the parser cannot work out the meaning, it tends to report "unexpected input". There is a ticket about parser recovery that may address some types of errors like the extra closing paren in your example. But it has not gotten off the ground. https://issues.apache.org/jira/browse/GROOVY-91

Re: [EXT] Next releases

2024-06-25 Thread Milles, Eric (TR Technology) via dev
Paul, Before you cut the Groovy 4 release, I should have a fix for 11414 (lambda return type check) today. Also, could you please consider reverting the change to 10415 (new bytecode for identity) in the Groovy 4 branch? This came out of nowhere and I would not expect to see bytecode changes t

Re: [EXT] [VOTE] Release Apache Groovy 4.0.22

2024-06-27 Thread Milles, Eric (TR Technology) via dev
I would still like to see GROOVY-11415 (https://github.com/apache/groovy/commit/9e2b21b4f82839eec6e240719a1200e08d0845f8) removed from Groovy 4. Is it too late for that? From: Paul King Sent: Thursday, June 27, 2024 2:44 AM To: Groovy_Developers Subject: [EXT]

Re: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-9

2024-06-27 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Thursday, June 27, 2024 3:38 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-9 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE t

Re: [EXT] [VOTE] Release Apache Groovy 3.0.22

2024-06-28 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Thursday, June 27, 2024 1:56 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.22 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread f

Re: [EXT] [VOTE] Release Apache Groovy 4.0.22

2024-06-28 Thread Milles, Eric (TR Technology) via dev
-1 for identity operator bytecode change From: Paul King Sent: Thursday, June 27, 2024 2:44 AM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.22 External Email: Use caution with links and attachments. Dear development community, I am ha

Re: [EXT] Re: [DISCUSS] EOL for Groovy 2.4.x

2024-07-01 Thread Milles, Eric (TR Technology) via dev
+1 for Groovy 2.4 EOL +1 for Groovy 2.5 EOL We should discuss setting a date for release of Groovy 5. If Groovy 3 is not EOL, it would be nice to fix gradle build to be runnable with Java 17+ From: Daniel Sun Sent: Friday, June 28, 2024 11:00 AM To: dev@groovy.

Re: [VOTE] EOL for Groovy 2.4.x

2024-07-08 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, July 8, 2024 1:04 AM To: Groovy_Developers Subject: [EXT] [VOTE] EOL for Groovy 2.4.x External Email: Use caution with links and attachments. Hi folks, As per the [DISCUSS] thread[1], there is strong consensus to EOL 2

Re: [VOTE] Bring Geb to ASF as a Groovy subproject

2024-10-23 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Tuesday, October 22, 2024 5:10 PM To: Groovy_Developers Subject: [EXT] [VOTE] Bring Geb to ASF as a Groovy subproject External Email: Use caution with links and attachments. Hi folks, The Geb project[1][2] has been a pre-emine

Re: [VOTE] Release Apache Groovy 3.0.23

2024-11-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, November 4, 2024 8:22 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 3.0.23 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread

Re: [VOTE] Release Apache Groovy 5.0.0-alpha-11

2024-11-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, November 4, 2024 6:44 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 5.0.0-alpha-11 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE

Re: [VOTE] Release Apache Groovy 4.0.24

2024-11-06 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Monday, November 4, 2024 7:46 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.24 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread

Re: [EXT] Static type checking error from groovy version 4.0.22

2024-12-02 Thread Milles, Eric (TR Technology) via dev
_ From: Milles, Eric (TR Technology) via dev Sent: Monday, December 2, 2024 9:45 AM To: [email protected] Cc: Milles, Eric (TR Technology) Subject: Re: [EXT] Static type checking error from groovy version 4.0.22 Micro, Please create a new bug report at issues.apache.org and I will have a look at

Re: [EXT] Static type checking error from groovy version 4.0.22

2024-12-02 Thread Milles, Eric (TR Technology) via dev
Micro, Please create a new bug report at issues.apache.org and I will have a look at what changed. From: Mirco Colletta Sent: Saturday, November 30, 2024 12:20 PM To: [email protected] Subject: [EXT] Static type checking error from groovy version 4.0.22 Exte

Re: [EXT] Static type checking error from groovy version 4.0.22

2024-12-03 Thread Milles, Eric (TR Technology) via dev
s().getResource(getClass().getSimpleName() + ".fxml")) ... fxmlLoader.load() But in the controller declaration I didn't specify the type of the generics @FXML private TreeView treeView so maybe a recent modification made the groovy type checker more strict. Thanks Il Lun 2 Dic 2024,

Re: [EXT] for loops, returns, and other animals

2024-12-04 Thread Milles, Eric (TR Technology) via dev
In our projects, we have style checks that suggest "for (x in y) ..." over "for (T x : y) ...". The "in" form is groovy idiom and the ":" form is for java compat. Switching to use "y.each { x-> ... }" or "y.forEach(x -> ...)" is a personal preference. Note: the debugger steps through the for

Re: [EXT] for loops, returns, and other animals

2024-12-04 Thread Milles, Eric (TR Technology) via dev
:02 PM To: Groovy_Developers Cc: Milles, Eric (TR Technology) Subject: Re: [EXT] for loops, returns, and other animals Miles, On 4. 12. 2024, at 18:21, Milles, Eric (TR Technology) via dev wrote: ... Switching to use "y.each { x-> ... }" or "y.forEach(x -> ...)"

Re: [EXT] seems like a bug to me?

2025-02-03 Thread Milles, Eric (TR Technology) via dev
Can you open a new jira ticket and we can get this fixed right away. From: [email protected] Sent: Friday, January 31, 2025 8:39 PM To: Groovy_Developers Subject: [EXT] seems like a bug to me? External Email: Use caution with links and attachments. Hi there, do I mis

Re: Re: null-specific argument type?

2025-01-31 Thread Milles, Eric (TR Technology) via dev
If your goal for "t.bar(null,[])" is to target a specific one of these: def bar(Collection c, List list) def bar(Map m, List list) def bar(o, List list) You can add a typecast, as in "t.bar((Object) null, [])". This creates a Wrapper for the runtime to pass through the type info. Oth

Re: a bug or my fault?

2025-02-06 Thread Milles, Eric (TR Technology) via dev
Is there any explicit statement about how indexing beyond the end of a collection should work? Does it extend the collection or just return null. Does a withDefault collection do something different? In general, arrays and collections should work the same, so the statement in the working with

Re: Using `var` as method return type placeholder

2024-12-10 Thread Milles, Eric (TR Technology) via dev
> If you think of def and var as an alias of Object, you will understand in an > instant. I too think this line should be replaced. There are circumstances where def only means "define" and is not a type placeholder. multi-variable declaration: def (a, int b, char c) = [0,1,'2'] // def is not

Re: [EXT] Re: Replacing javax.* with jakarta.*

2024-12-19 Thread Milles, Eric (TR Technology) via dev
One thing to note, there is a tool that scans your classes and makes the necessary changes in the bytecode. We have used this to deploy a Tomcat 9 (Java EE 8) war onto Tomcat 10 (Jakarta EE 9). https://github.com/apache/tomcat-jakartaee-migration From: Paul Ki

Re: [EXT] Re: Using `var` as method return type placeholder

2024-11-21 Thread Milles, Eric (TR Technology) via dev
I don't think semantically that "var name() { ... }" makes sense. One might argue that var for field and property do not make sense either. We could explore removing support for var on class members. From: Gianluca Sartori Sent: Thursday, November 21, 2024 10:57

Re: [EXT] Re: Using `var` as method return type placeholder

2024-11-21 Thread Milles, Eric (TR Technology) via dev
t;> wrote: I thought Gianluca made an excellent argument and helps modernize the language. Given Groovy’s symbiotic relationship with Java, it seems like the guidance here should probably be to follow Java’s usage as that likely keeps friction/confusion to a minimum. Not being a Java deve

Re: [VOTE] Release Apache Groovy 5.0.0-alpha-12

2025-01-22 Thread Milles, Eric (TR Technology) via dev
I noticed a couple issues with this release: GROOVY-10381 (duplicate interface default methods): 1. the location of the error ends up at line -1 of the offending source file 2. the override scenario given in the first comment was not teste

Re: [EXT] Re: [VOTE] Release Apache Groovy 5.0.0-alpha-12

2025-01-23 Thread Milles, Eric (TR Technology) via dev
There could easily be things for that which need fixing too. Thoughts? Paul. On Thu, Jan 23, 2025 at 7:52 AM Milles, Eric (TR Technology) via dev wrote: > > I noticed a couple issues with this release: > > GROOVY-10381 (duplicate interface default methods): > > the location of th

Re: [VOTE] Release Apache Groovy 4.0.25

2025-01-23 Thread Milles, Eric (TR Technology) via dev
+1 (binding) From: Paul King Sent: Tuesday, January 21, 2025 4:23 PM To: Groovy_Developers Subject: [EXT] [VOTE] Release Apache Groovy 4.0.25 External Email: Use caution with links and attachments. Dear development community, I am happy to start the VOTE thread

Re: [EXT] Compiling Java with Groovy

2025-04-07 Thread Milles, Eric (TR Technology) via dev
Some of these are known differences with Java. Some of these are addressed in Groovy 5. And some are open tickets in ASF JIRA: https://issues.apache.org/jira/projects/GROOVY/issues?filter=allopenissues&orderby=updated+DESC It would be best to try each with the latest Groovy 5 snapshot and cre

Re: [EXT] Re: [DISCUSS] Lazy findAll, collect, collectMany

2025-04-09 Thread Milles, Eric (TR Technology) via dev
My general concern is the number of overloads and variants. collect, collectMany and findAll would probably be named something else if created anew today. Adding to this creates confusion IMO. Do you have a Java stream and Groovy as-is version to compare against for each proposed new method?

  1   2   >