Re: Inconsistent overriding of Interger methods

2018-08-20 Thread ocs@ocs
Eric, I fear not: === 776 /tmp> /usr/local/groovy-3.0.0-alpha-3/bin/groovy -indy q WARNING: Using incubator modules: jdk.incubator.httpclient byteValue works: OK plus does not: 3 not even: 3 Elsewhere plus works: OK 777 /tmp> /usr/local/groovy-3.0.0-alpha-3/bin/groovy -disable=int q

Re: Inconsistent overriding of Interger methods

2018-08-20 Thread Milles, Eric (TR Technology & Ops)
You may want to disable the int optimization (on by default; off for indy). I think then primitives would get converted to wrappers and MOP would be available consistently. From: mg Sent: Monday, August 20, 2018 7:17 AM To: dev@groovy.apache.org Subject: Re: I

Re: Inconsistent overriding of Interger methods

2018-08-20 Thread mg
Without having looked at the implementation: Wouldn't "performance" be a plausible explanation why these cases can't be moped up... ? Ursprüngliche Nachricht Von: Paul King Datum: 20.08.18 02:59 (GMT+01:00) An: dev@groovy.apache.org Betreff: Re: Inconsistent overriding of Int