Skip to content

LDEV-6377 restore is*() boolean getter fallback in getGetterEL#2799

Open
zspitzer wants to merge 1 commit into
lucee:6.2from
zspitzer:LDEV-6377-v6
Open

LDEV-6377 restore is*() boolean getter fallback in getGetterEL#2799
zspitzer wants to merge 1 commit into
lucee:6.2from
zspitzer:LDEV-6377-v6

Conversation

@zspitzer

@zspitzer zspitzer commented Jun 13, 2026

Copy link
Copy Markdown
Member

LDEV-6377

Reflector.getGetterEL only tried get*(); Reflector.getGetter (its throwing sibling) has always also tried is*() for boolean returns. This restores that fallback to getGetterEL, matching the throwing sibling.

Behaviour: get*() still wins when both exist. is*() only used when get*() is absent AND return type is boolean/Boolean.

Test: test/tickets/LDEV6377.cfc covers File.isHidden/isDirectory/isFile/isAbsolute and String.isEmpty via the property shorthand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant