[jira] [Created] (GROOVY-8325) @CompileStatic calls wrong newInstance method.

2017-09-20 Thread Xiaoguang WANG (JIRA)
Xiaoguang WANG created GROOVY-8325: -- Summary: @CompileStatic calls wrong newInstance method. Key: GROOVY-8325 URL: https://issues.apache.org/jira/browse/GROOVY-8325 Project: Groovy Issue

[jira] [Created] (GROOVY-8452) @CompileStatic, generic with 'extends' bug: Expected parameter of type ? but got A

2018-01-18 Thread Xiaoguang Wang (JIRA)
Xiaoguang Wang created GROOVY-8452: -- Summary: @CompileStatic, generic with 'extends' bug: Expected parameter of type ? but got A Key: GROOVY-8452 URL: https://issues.apache.org/jira/browse/GROOVY-8452

[jira] [Commented] (GROOVY-7409) Closure reference a wrong object when is defining inside an iterator

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352020#comment-16352020 ] Xiaoguang Wang commented on GROOVY-7409: indeed not a bug (but a feature). This happens in most

[jira] [Created] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
Xiaoguang Wang created GROOVY-8470: -- Summary: dead loop when compiling 'enum in enum without semicolon' Key: GROOVY-8470 URL: https://issues.apache.org/jira/browse/GROOVY-8470 Project: Groovy

[jira] [Updated] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8470: --- Description: {code:java} enum EnumA {     EA(EnumB.EB)   // without a semicolon here, the

[jira] [Commented] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352057#comment-16352057 ] Xiaoguang Wang commented on GROOVY-8470: I am using `groovyc` > dead loop when compiling 'enum

[jira] [Updated] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8470: --- Description: cat a.groovy {code:java} enum EnumA {     EA(EnumB.EB)   // without a

[jira] [Updated] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8470: --- Description: cat a.groovy {code:java} enum EnumA {     EA(EnumB.EB)   // without a

[jira] [Updated] (GROOVY-8470) dead loop when compiling 'enum in enum without semicolon'

2018-02-04 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8470: --- Description: cat a.groovy {code:java} enum EnumA {     EA(EnumB.EB)   // without a

[jira] [Updated] (GROOVY-8764) Closure inside an anonymous class uses wrong outside class instance

2018-08-22 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8764: --- Affects Version/s: 3.0.0-alpha-3 Description: This bug only occurs with

[jira] [Updated] (GROOVY-8764) Closure inside an anonymous class uses wrong outside class instance

2018-08-22 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8764: --- Affects Version/s: 2.4.15 Description: This bug only occurs with @ComplieStatic  

[jira] [Updated] (GROOVY-8452) @CompileStatic, generic with 'extends' bug: Expected parameter of type ? but got A

2018-08-22 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-8452: --- Affects Version/s: 3.0.0-alpha-3 2.5.2 > @CompileStatic, generic

[jira] [Created] (GROOVY-8764) Closure inside an anonymous class uses wrong parent class instance

2018-08-22 Thread Xiaoguang Wang (JIRA)
Xiaoguang Wang created GROOVY-8764: -- Summary: Closure inside an anonymous class uses wrong parent class instance Key: GROOVY-8764 URL: https://issues.apache.org/jira/browse/GROOVY-8764 Project:

[jira] [Commented] (GROOVY-8804) Sql.rows(gstring) fails while Sql.rows(string) works

2018-09-22 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16624665#comment-16624665 ] Xiaoguang Wang commented on GROOVY-8804: I think it is not a bug (but a feature)   GSQL

[jira] [Commented] (GROOVY-8339) Fix warning "An illegal reflective access operation has occurred"

2019-02-01 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758116#comment-16758116 ] Xiaoguang Wang commented on GROOVY-8339: I think there should be an official instructions to

[jira] [Comment Edited] (GROOVY-8339) Fix warning "An illegal reflective access operation has occurred"

2019-02-01 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758116#comment-16758116 ] Xiaoguang Wang edited comment on GROOVY-8339 at 2/1/19 8:56 AM: I think

[jira] [Commented] (GROOVY-8933) Windows environment don't handle arguments with "!" character correct.

2019-01-31 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16757295#comment-16757295 ] Xiaoguang Wang commented on GROOVY-8933: It is not groovy's problem. As long as your write

[jira] [Comment Edited] (GROOVY-8933) Windows environment don't handle arguments with "!" character correct.

2019-01-31 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16757295#comment-16757295 ] Xiaoguang Wang edited comment on GROOVY-8933 at 1/31/19 2:37 PM: - It is

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Affects Version/s: 2.4.16 > The exception message should be more clear when a

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Created] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
Xiaoguang Wang created GROOVY-9075: -- Summary: The exception message should be more clear when a GroovyObject's metaClass is wrong Key: GROOVY-9075 URL: https://issues.apache.org/jira/browse/GROOVY-9075

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Updated] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-04-11 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9075: --- Description: If a GroovyObject's metaClass is overwritten by mistake, the accesses to the

[jira] [Commented] (GROOVY-9223) Avoid generating common methods for each groovy class

2019-08-15 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907857#comment-16907857 ] Xiaoguang Wang commented on GROOVY-9223: Can you consider about this issue

[jira] [Commented] (GROOVY-9075) The exception message should be more clear when a GroovyObject's metaClass is wrong

2019-08-15 Thread Xiaoguang Wang (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907882#comment-16907882 ] Xiaoguang Wang commented on GROOVY-9075: Yes. Or something like: object[C1]'s metaClass

[jira] [Created] (GROOVY-9253) Comparison between Enum and other objects should fail

2019-09-16 Thread Xiaoguang Wang (Jira)
Xiaoguang Wang created GROOVY-9253: -- Summary: Comparison between Enum and other objects should fail Key: GROOVY-9253 URL: https://issues.apache.org/jira/browse/GROOVY-9253 Project: Groovy

[jira] [Updated] (GROOVY-9253) Comparison between Enum and other objects should fail

2019-09-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9253: --- Description: In Java, comparison between Enum and other objects always fail. Groovy can

[jira] [Updated] (GROOVY-9253) Comparison between Enum and other objects should fail

2019-09-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9253: --- Description: In Java, comparison between Enum and other objects always triggers an error

[jira] [Updated] (GROOVY-9253) Comparison between Enum and other objects should fail

2019-09-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-9253: --- Description: In Java, comparison between Enum and other objects always fail. Groovy can

[jira] [Created] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
Xiaoguang Wang created GROOVY-10494: --- Summary: Groovy 4 can not compile super.foo with generic interface method Key: GROOVY-10494 URL: https://issues.apache.org/jira/browse/GROOVY-10494 Project:

[jira] [Commented] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493616#comment-17493616 ] Xiaoguang Wang commented on GROOVY-10494: - It seems to be a bug in Groovy 4, so Groovy 5 seems

[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Attachment: image-2022-02-17-10-53-45-797.png > Groovy 4 can not compile super.foo with

[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface (or trait) method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Summary: Groovy 4 can not compile super.foo with generic interface (or trait) method

[jira] [Updated] (GROOVY-10494) Groovy 4 can not compile super.foo with generic interface method

2022-02-16 Thread Xiaoguang Wang (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoguang Wang updated GROOVY-10494: Attachment: image-2022-02-17-10-56-36-832.png > Groovy 4 can not compile super.foo with

[jira] [Created] (GROOVY-10462) Groovy should not generate both `getFlag` and `isFlag` for a Boolean field.

2022-01-20 Thread Xiaoguang Wang (Jira)
Xiaoguang Wang created GROOVY-10462: --- Summary: Groovy should not generate both `getFlag` and `isFlag` for a Boolean field. Key: GROOVY-10462 URL: https://issues.apache.org/jira/browse/GROOVY-10462