[jira] [Assigned] (GROOVY-11284) Generated size() method on records performs unnecessary boxing

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King reassigned GROOVY-11284: -- Assignee: Paul King > Generated size() method on records performs unnecessary boxing > -

[jira] [Commented] (GROOVY-11284) Generated size() method on records performs unnecessary boxing

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808149#comment-17808149 ] Paul King commented on GROOVY-11284: Thanks for spotting the issue. Should be fixed

[jira] [Assigned] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King reassigned GROOVY-11285: -- Assignee: Paul King > Generated toList() and toMap() methods on records perform unnecessary

[jira] [Commented] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808150#comment-17808150 ] Paul King commented on GROOVY-11285: Thanks for spotting the issue. Should be fixed

[jira] [Created] (GROOVY-11287) Perform constant folding for basic math calculations in CS

2024-01-18 Thread Oscar N (Jira)
Oscar N created GROOVY-11287: Summary: Perform constant folding for basic math calculations in CS Key: GROOVY-11287 URL: https://issues.apache.org/jira/browse/GROOVY-11287 Project: Groovy Issue T

[jira] [Created] (GROOVY-11288) Unnecessary bytecode generated after variable assignment

2024-01-18 Thread Oscar N (Jira)
Oscar N created GROOVY-11288: Summary: Unnecessary bytecode generated after variable assignment Key: GROOVY-11288 URL: https://issues.apache.org/jira/browse/GROOVY-11288 Project: Groovy Issue Typ

[jira] [Commented] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Oscar N (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808282#comment-17808282 ] Oscar N commented on GROOVY-11285: -- Thanks for the quick fix. I'm interested in making

[jira] [Commented] (GROOVY-11288) Unnecessary bytecode generated after variable assignment

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808359#comment-17808359 ] Eric Milles commented on GROOVY-11288: -- This is a consequence of sequences like "a

[PR] Use `Collections.EMPTY_MAP` in no-arg constructor [groovy]

2024-01-18 Thread via GitHub
PaintNinja opened a new pull request, #2036: URL: https://github.com/apache/groovy/pull/2036 This PR changes the map used in the generated no-arg constructor to use the `Collections.EMPTY_MAP` instance rather than creating a new `LinkedHashMap` each call. ```diff @Generated pri

[jira] [Created] (GROOVY-11289) STC: error message for improper property initialization includes internal "

2024-01-18 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11289: Summary: STC: error message for improper property initialization includes internal "https://issues.apache.org/jira/browse/GROOVY-11289 Project: Groovy Issue Type: Improvement Compo

[jira] [Updated] (GROOVY-11284) Generated size() method on records performs unnecessary boxing

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11284: - Language: groovy > Generated size() method on records performs unnecessary boxing > ---

[jira] [Updated] (GROOVY-11286) Extraneous bytecode generated after calls to void methods

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11286: - Language: groovy > Extraneous bytecode generated after calls to void methods >

[jira] [Updated] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11285: - Language: groovy > Generated toList() and toMap() methods on records perform unnecessary wrappi

[jira] [Updated] (GROOVY-9239) Java compatibility: consider supporting method reference with generics

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9239: Language: groovy > Java compatibility: consider supporting method reference with generics > --

[jira] [Updated] (GROOVY-11287) Perform constant folding for basic math calculations in CS

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11287: - Language: groovy > Perform constant folding for basic math calculations in CS > ---

[jira] [Updated] (GROOVY-11010) Ambiguous method reference when expecting a SAM type

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11010: - Language: groovy > Ambiguous method reference when expecting a SAM type > -

[jira] [Updated] (GROOVY-10714) STC: Callable, Runnable, Serializable overload preference for functional argument (closure, lambda, etc.)

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-10714: - Language: groovy > STC: Callable, Runnable, Serializable overload preference for functional >

[jira] [Updated] (GROOVY-11288) Unnecessary bytecode generated after variable assignment

2024-01-18 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11288: - Language: groovy > Unnecessary bytecode generated after variable assignment > -

Re: [PR] Use `Collections.EMPTY_MAP` in generated no-arg constructor from `@TupleConstructor` [groovy]

2024-01-18 Thread via GitHub
PaintNinja closed pull request #2036: Use `Collections.EMPTY_MAP` in generated no-arg constructor from `@TupleConstructor` URL: https://github.com/apache/groovy/pull/2036 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

[jira] [Created] (GROOVY-11290) STC: multiple instanceof checks produce different results

2024-01-18 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11290: Summary: STC: multiple instanceof checks produce different results Key: GROOVY-11290 URL: https://issues.apache.org/jira/browse/GROOVY-11290 Project: Groovy

[jira] [Created] (GROOVY-11291) Avoid unnecessarily creating closure class files that already exist on disk

2024-01-18 Thread mgroovy (Jira)
mgroovy created GROOVY-11291: Summary: Avoid unnecessarily creating closure class files that already exist on disk Key: GROOVY-11291 URL: https://issues.apache.org/jira/browse/GROOVY-11291 Project: Groovy

[jira] [Updated] (GROOVY-11291) Avoid unnecessarily creating closure class files that already exist on disk

2024-01-18 Thread mgroovy (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mgroovy updated GROOVY-11291: - Description: * When rebuiling a Groovy class it often regenerates a large number of class files that r

[jira] [Commented] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808407#comment-17808407 ] Paul King commented on GROOVY-11285: Yes, we'd do that under a separate ticket to t

[jira] [Updated] (GROOVY-11285) Generated toList() and toMap() methods on records perform unnecessary wrapping

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-11285: --- Fix Version/s: 4.0.19 > Generated toList() and toMap() methods on records perform unnecessary wrapp

[jira] [Updated] (GROOVY-11284) Generated size() method on records performs unnecessary boxing

2024-01-18 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-11284: --- Fix Version/s: 4.0.19 > Generated size() method on records performs unnecessary boxing > --