[jira] [Updated] (GROOVY-9091) Grape's @GrabConfig systemProperties set too late

2019-04-18 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-9091: -- Description: This minimalistic example with

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821493#comment-16821493 ] Eric Milles commented on GROOVY-7996: - {{VariableScopeVisitor.checkVariableNameForDeclaration}}

[jira] [Comment Edited] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821458#comment-16821458 ] Eric Milles edited comment on GROOVY-7996 at 4/18/19 8:04 PM: -- If written

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821458#comment-16821458 ] Eric Milles commented on GROOVY-7996: - If written this way, no error occurs on Groovy 2.4:

[GitHub] [groovy] eric-milles commented on issue #857: GROOVY-7996: Using with method with a closure that references a prote…

2019-04-18 Thread GitBox
eric-milles commented on issue #857: GROOVY-7996: Using with method with a closure that references a prote… URL: https://github.com/apache/groovy/pull/857#issuecomment-484662202 This change breaks down if an additional level of closure is inserted. The implicit this is transformed into a

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821431#comment-16821431 ] Eric Milles commented on GROOVY-7996: - Since {{void build(Closure callable)}} does not have a

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821301#comment-16821301 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 7:11 PM: -- The subclass

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

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles updated GROOVY-9063: Comment: was deleted (was: I believe the changes indicated in GROOVY-9086 fix this bug as well.)

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821262#comment-16821262 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 6:46 PM: -- Based on how

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821262#comment-16821262 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 6:45 PM: -- Based on how

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821262#comment-16821262 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 6:41 PM: -- Based on how

[jira] [Closed] (GROOVY-9092) SC: IllegalAccessError for inner class access to outer class private field

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Milles closed GROOVY-9092. --- Resolution: Not A Problem > SC: IllegalAccessError for inner class access to outer class private

[jira] [Commented] (GROOVY-9092) SC: IllegalAccessError for inner class access to outer class private field

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821402#comment-16821402 ] Eric Milles commented on GROOVY-9092: - Sorry, this is not an issue for the current compiler.

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821262#comment-16821262 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 6:32 PM: -- Based on how

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821333#comment-16821333 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 6:30 PM: -- If access to

[jira] [Created] (GROOVY-9093) SC: subclass access to package-private or private field is not indicated as an error

2019-04-18 Thread Eric Milles (JIRA)
Eric Milles created GROOVY-9093: --- Summary: SC: subclass access to package-private or private field is not indicated as an error Key: GROOVY-9093 URL: https://issues.apache.org/jira/browse/GROOVY-9093

[jira] [Created] (GROOVY-9092) SC: IllegalAccessError for inner class access to outer class private field

2019-04-18 Thread Eric Milles (JIRA)
Eric Milles created GROOVY-9092: --- Summary: SC: IllegalAccessError for inner class access to outer class private field Key: GROOVY-9092 URL: https://issues.apache.org/jira/browse/GROOVY-9092 Project:

[jira] [Created] (GROOVY-9091) Grape's @GrabConfig systemProperties set too late

2019-04-18 Thread Christian Bach (JIRA)
Christian Bach created GROOVY-9091: -- Summary: Grape's @GrabConfig systemProperties set too late Key: GROOVY-9091 URL: https://issues.apache.org/jira/browse/GROOVY-9091 Project: Groovy Issue

[jira] [Commented] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821333#comment-16821333 ] Eric Milles commented on GROOVY-9043: - If access to private fields is allowed from inner classes, an 

[jira] [Comment Edited] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821333#comment-16821333 ] Eric Milles edited comment on GROOVY-9043 at 4/18/19 5:27 PM: -- If access to

[jira] [Commented] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821301#comment-16821301 ] Eric Milles commented on GROOVY-9043: - The subclass access check appears to be handled somewhere

[jira] [Commented] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821262#comment-16821262 ] Eric Milles commented on GROOVY-9043: - Based on how the inner class check is described, I would

[jira] [Commented] (GROOVY-9043) Access to package-scoped static field is forbidden for inner class in static compilation mode

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821242#comment-16821242 ] Eric Milles commented on GROOVY-9043: - Looks like that decision is made on the last line of this

[jira] [Commented] (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-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821218#comment-16821218 ] Eric Milles commented on GROOVY-9063: - I believe the changes indicated in GROOVY-9086 fix this bug

[jira] [Updated] (GROOVY-8603) @CompileStatic: matching method check limited to 30 super classes

2019-04-18 Thread Peter Schmitz (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Schmitz updated GROOVY-8603: -- Labels: CompileStatic Matching extends inheritance method parameters typecheck (was: