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
Hello OC
I didnt have to change my file names to .groovy (I just use the compilation
unit to create my source unit closure (from a .java file and it works).
Additionally, there are a few reg ex updates I do to the code before adding
them to the source unit compilation mechanism. This lets me side
Jochen,
> On 7. 4. 2025, at 14:00, Jochen Theodorou wrote:
> I wonder though... why use Groovy to compile Java?
My own use case was that I've turned big Java projects to Groovy; the only
reasonable way I've found was
1. to rename all .java sources to .groovy
2. to fix things which did not compi
On 06.04.25 06:59, Saravanan Palanichamy wrote:
Hello Groovy users/devs
I am using the Groovy compiler to compile standard Java code (as in the
developer wrote Java code, I am using the Groovy compiler behind the
scenes). Most of it works, but I did see a few compatibility issues.
Some seem like
I added the PR for the trailing list edge case here:
https://github.com/apache/groovy/pull/2180
On Mon, Apr 7, 2025 at 7:12 AM Paul King wrote:
>
> Actually, there is another edge case with chop that I would also like
> to modify since we are making a change anyway.
>
> Even once the original so