[jira] [Updated] (GROOVY-11192) Code that causes Groovy Compiler Crash

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11192: - Docs Text: (was: 1st source file (TestCompilerCrashOnTemplateArgCount.groovy) {code:groovy}

[jira] [Updated] (GROOVY-11192) Code that causes Groovy Compiler Crash

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11192: - Docs Text: 1st source file (TestCompilerCrashOnTemplateArgCount.groovy) {code:groovy} package c

[jira] [Updated] (GROOVY-11192) Code that causes Groovy Compiler Crash

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11192: - Docs Text: Below is the code that causes the compiler to crash during compilation. 1st source

[jira] [Updated] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11201: - Fix Version/s: 3.0.20 > STC: assign method pointer to SAM-type > --

[jira] [Resolved] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles resolved GROOVY-11201. -- Fix Version/s: 4.0.16 Resolution: Fixed https://github.com/apache/groovy/commit/fd9524

[jira] [Updated] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11201: - Description: Consider the following: {code:groovy} import java.util.function.Consumer void set

[jira] [Commented] (GROOVY-11193) Methods referenced by super cannot be found and are not executed

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778422#comment-17778422 ] Eric Milles commented on GROOVY-11193: -- [~marek-parfianowicz] You only need to SC

[jira] [Updated] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11201: - Description: Consider the following: {code:groovy} import java.util.function.Consumer void set

[jira] [Updated] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-11201: - Description: Consider the following: {code:groovy} import import java.util.function.Consumer v

[jira] [Created] (GROOVY-11201) STC: assign method pointer to SAM-type

2023-10-22 Thread Eric Milles (Jira)
Eric Milles created GROOVY-11201: Summary: STC: assign method pointer to SAM-type Key: GROOVY-11201 URL: https://issues.apache.org/jira/browse/GROOVY-11201 Project: Groovy Issue Type: Improve

Re: [PR] fix(XmlUtil): escapeControlCharacters off-by-one bug [groovy]

2023-10-22 Thread via GitHub
daniellansun commented on PR #1973: URL: https://github.com/apache/groovy/pull/1973#issuecomment-1774077583 It would be better if you could provide the related test as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[jira] [Commented] (GROOVY-11200) JsonSlurper parses badly format JSON without throwing exception

2023-10-22 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778325#comment-17778325 ] ASF GitHub Bot commented on GROOVY-11200: - yuhengfdada commented on PR #1972: U

Re: [PR] GROOVY-11200: JsonSlurper should throw exception when parsing invalid String ended with a right curly brace [groovy]

2023-10-22 Thread via GitHub
yuhengfdada commented on PR #1972: URL: https://github.com/apache/groovy/pull/1972#issuecomment-1774046490 With this change, this unit test is failing in `JsonSlurperLaxTest.groovy`: ``` void testArrayOfArrayWithSimpleValues() { assert parser.parseText('[1, 2, 3, ["a", "b

[jira] [Commented] (GROOVY-11200) JsonSlurper parses badly format JSON without throwing exception

2023-10-22 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-11200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778324#comment-17778324 ] ASF GitHub Bot commented on GROOVY-11200: - yuhengfdada opened a new pull reques

[PR] GROOVY-11200: (Second Approach) JsonSlurper should throw exception when parsing invalid String ended with a right curly brace [groovy]

2023-10-22 Thread via GitHub
yuhengfdada opened a new pull request, #1974: URL: https://github.com/apache/groovy/pull/1974 This approach avoids array copy as in https://github.com/apache/groovy/pull/1972 by using a simple counter. -- This is an automated message from the Apache Git Service. To respond to the message,