Skip to content

fix(api): Fix ComponentBuilder#build ABI compatibility#1407

Open
kezz wants to merge 1 commit intomain/5from
fix/nsme-component-build
Open

fix(api): Fix ComponentBuilder#build ABI compatibility#1407
kezz wants to merge 1 commit intomain/5from
fix/nsme-component-build

Conversation

@kezz
Copy link
Copy Markdown
Member

@kezz kezz commented Apr 28, 2026

In 5.x, ComponentBuilder#build erased from Object to Component, causing NoSuchMethodError for 4.x-compiled clients.

This adds a build-time classfile bridge for build():Object while keeping the 5.x source API strongly typed.

This hack will be removed in 6.x.

@kezz kezz added this to the 5.1.0 milestone Apr 28, 2026
@kezz kezz force-pushed the fix/nsme-component-build branch from 980c9e8 to 90a4a59 Compare May 5, 2026 17:07
@kezz kezz changed the title fix(api): Add explicit override for component builder methods fix(api): Fix ComponentBuilder#build ABI compatibility May 5, 2026
@kezz kezz force-pushed the fix/nsme-component-build branch from 90a4a59 to fd92ce7 Compare May 6, 2026 09:27
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.

1 participant