Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10708

Property access for wrapped vs. primitive boolean

    XMLWordPrintableJSON

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

          Activity

            People

              emilles Eric Milles
              DPUkyle Kyle Moore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: