Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Information Provided
-
4.0.3
-
None
-
None
-
None
Description
In upgrading our codebase from Groovy 3.0.11 to 4.0.3, we noticed the documented change that isXyz accessors returning a Boolean are no longer recognized as properties.
This has the potential to break a few use-cases in Gradle where accessors returning Boolean are no longer included in MetaClass#getProperties(). We may be able to workaround this on our own, but are wondering if this behavior can be configured or modified in the 4.0.x timeline.
Attachments
Issue Links
- is related to
-
GROOVY-7300 CompileStatic doesn't call property accessors on super classes correctly
- Closed
-
GROOVY-10462 Groovy should not generate both `getFlag` and `isFlag` for a Boolean field.
- Closed
-
GROOVY-1736 Accessing superclass properties causes stack overflow
- Closed
-
GROOVY-5245 Inconsistency with accessing issers as properties
- Closed
-
GROOVY-6097 Using super.propertyName gives a MissingMethodException when the property is a boolean and uses the "isPropertyName" naming convention.
- Closed
-
GROOVY-9382 Inconsistent support for [Bb]oolean properties
- Closed
-
GROOVY-10133 Inconsistent method selection for [Bb]oolean properties
- Closed
-
GROOVY-7924 groovyc fails with NPE for dynamic method/property use on super
- Closed