Re: An issue about comparing arrays

2016-11-02 Thread bo zhang
I'm afraid it's not a bug. Actually, `def a=new int[2][]` means that a is an array of two null pointers with type "int []", and `def b=new int[2][][]` means that b is an array of two null pointers with type "int[][]", it seems that they should be equal. See https://github.com/groovy/groovy-core/b

Re: An issue about comparing arrays

2016-11-02 Thread bo zhang
ussed, anybody has opinions? 2016-11-03 7:51 GMT+08:00 Daniel.Sun : > IMO, we should compare their type first. If not same, the comparing result > should be 'false'. > > Cheers, > Daniel.Sun > > > > 在 "bo zhang [via Groovy]" <http:///user/SendEmai

How can I convert a Map to Groovy Literal?

2016-12-16 Thread bo zhang
Hi everybody, I want to convert a Map to Groovy literal, is there convenient methods to do this or I have to write it myself? For example, assert convert(map)=="[a:'a',b:'b']"

Re: How can I convert a Map to Groovy Literal?

2016-12-17 Thread bo zhang
Yes, that's exactly what I want, thank you very much! 2016-12-17 17:51 GMT+08:00 Michał Mally : > Hello, > > You can use 'inspect' method: > > groovy> println ([a: 'b'].inspect()) > ['a':'b'] > > Warm regar

Re: Some trivial tickets

2017-05-04 Thread bo zhang
I have no idea about that issue, but I'm impressed by your enthusiasm thus I want to encourage you to advance bravely. There's nobody responding to you, maybe these bugs are too old to be recalled by people? I hope you're not discouraged. Just like you, I tried to make my first contribution severa

Re: groovy git commit: Revert "Bump gradle version to 4.0" and "Bump build-scan plugin version to 1.8"

2017-06-15 Thread bo zhang
Just for your information. I just bumped to Gradle 4.0 in one of my private projects and found there're a lot changes in Gradle 4.0, especially some basic internal API and some basic behavior of public API. Since I have to use some internal API, the only choice for me to keep compatible with both

Re: Missing ACC_PRIVATE flag in generated private inner class bytecode

2019-05-22 Thread Bo Zhang
Thank you very much @Paul for the guidance. I’ll take a look to see if I can help. > On 22 May 2019, at 12:51, Paul King wrote: > > Hi Bo Zhang, > > I believe this is related to this rather old PR: > https://github.com/apache/groovy/pull/648 > <https://github.co

Groovy-lang.org certificate expires

2020-04-28 Thread Bo Zhang
And this caused some of our build failing to fetch javadoc from groovy-lang.org .

Re: Groovy-lang.org certificate expires

2020-04-28 Thread Bo Zhang
Thank you Paul! > On 29 Apr 2020, at 05:20, Paul King wrote: > > I'll fix today > > On Wed, Apr 29, 2020 at 12:39 AM Bo Zhang <mailto:zhangbo...@gmail.com>> wrote: > And this caused some of our build failing to fetch javadoc from > groovy-lang.org <http://groovy-lang.org/>. > >