[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Description: Provided the following class: {code:groovy} import groovy.transform.CompileSt

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Component/s: Compiler > Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Environment: Groovy 2.5.6 @groovy.transform.CompileStatic was: Groovy 2.5.6 @CompileSta

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Environment: Groovy 2.5.6 @CompileStatic was:Groovy 2.5.6 > Groovy 2.5.6 @CompileStat

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Environment: Groovy 2.5.6 > Groovy 2.5.6 @CompileStatic generates invalid bytecode (leadin

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Affects Version/s: 2.5.6 > Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Description: Provided the following class: {code:groovy} import groovy.transform.CompileSt

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Description: Provided the following class: {code:groovy} import groovy.transform.CompileSt

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Description: Provided the following class: {code:groovy} import groovy.transform.CompileSt

[jira] [Updated] (GROOVY-9063) Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frédéric Chuong updated GROOVY-9063: Summary: Groovy 2.5.6 @CompileStatic generates invalid bytecode (leading to runtime ClassC

[jira] [Created] (GROOVY-9063) @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures

2019-04-02 Thread JIRA
Frédéric Chuong created GROOVY-9063: --- Summary: @CompileStatic generates invalid bytecode (leading to runtime ClassCastException) when accessing protected instance member from 2 level of nested closures Key: GROOVY-9063

[GitHub] [groovy] danielsun1106 commented on issue #903: GROOVY-9060: Make the initial capacity of LinkedHashMap be power of 2…

2019-04-02 Thread GitBox
danielsun1106 commented on issue #903: GROOVY-9060: Make the initial capacity of LinkedHashMap be power of 2… URL: https://github.com/apache/groovy/pull/903#issuecomment-479243881 See https://github.com/apache/groovy/commit/5c8f08633a320be8836a249d577a549fe5966b76 ---

[jira] [Commented] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808215#comment-16808215 ] Eric Milles commented on GROOVY-9058: - However, the addition of {{if (!((VariableExp

[jira] [Comment Edited] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808150#comment-16808150 ] Eric Milles edited comment on GROOVY-9058 at 4/2/19 10:53 PM:

[jira] [Commented] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808150#comment-16808150 ] Eric Milles commented on GROOVY-9058: - If I rewrite the upper half of {{getResultTyp

[GitHub] [groovy] eric-milles commented on issue #903: GROOVY-9060: Make the initial capacity of LinkedHashMap be power of 2…

2019-04-02 Thread GitBox
eric-milles commented on issue #903: GROOVY-9060: Make the initial capacity of LinkedHashMap be power of 2… URL: https://github.com/apache/groovy/pull/903#issuecomment-479132066 Doesn't this just move the math from inside of HashMap to InvokerHelper.initialCapacity? Where is the performan

[jira] [Commented] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807927#comment-16807927 ] Eric Milles commented on GROOVY-9058: - {{left}} is {{List}}, {{right}} is {{List}},

[jira] [Commented] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807916#comment-16807916 ] Eric Milles commented on GROOVY-9058: - Before the compiler gets to the above, {{Sta

[jira] [Comment Edited] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807916#comment-16807916 ] Eric Milles edited comment on GROOVY-9058 at 4/2/19 4:51 PM: -

[jira] [Comment Edited] (GROOVY-9058) each parameter type not correctly inferenced

2019-04-02 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807916#comment-16807916 ] Eric Milles edited comment on GROOVY-9058 at 4/2/19 4:51 PM: -