Skip to content

remove reflection from isDefaultMethod#4053

Merged
filiphr merged 1 commit into
mapstruct:mainfrom
hduelme:remove-reflection-from-isDefaultMethod
May 11, 2026
Merged

remove reflection from isDefaultMethod#4053
filiphr merged 1 commit into
mapstruct:mainfrom
hduelme:remove-reflection-from-isDefaultMethod

Conversation

@hduelme

@hduelme hduelme commented May 11, 2026

Copy link
Copy Markdown
Contributor

Since Java 8, ExecutableElement.isDefault() is always available. As MapStruct now requires Java 8 as the minimum supported version, the reflective check is no longer necessary.

@filiphr filiphr merged commit c627f78 into mapstruct:main May 11, 2026
9 checks passed
@filiphr

filiphr commented May 11, 2026

Copy link
Copy Markdown
Member

Nice one @hduelme

@filiphr filiphr added this to the 1.7.0.Beta2 milestone May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants