Skip to content

Build against drivine 73 - #72

Merged
johnsonr merged 1 commit into
mainfrom
chore/update-drivine
Jul 27, 2026
Merged

Build against drivine 73#72
johnsonr merged 1 commit into
mainfrom
chore/update-drivine

Conversation

@jasperblues

Copy link
Copy Markdown
Contributor

Rebuild dice-storage against Drivine 0.0.73 (ABI fix), and stop the codegen version drifting

Why this is needed

Drivine 0.0.73 added a nullPolicy parameter to GraphObjectManager.save / saveAll. That changes the signature of the synthetic Kotlin default-args bridge, so the method a consumer compiled against no longer exists:

java.lang.NoSuchMethodError: 'java.lang.Object org.drivine.manager.GraphObjectManager.save$default(
    org.drivine.manager.GraphObjectManager, java.lang.Object, org.drivine.manager.CascadeType, int, java.lang.Object)'

Old bridge: save$default(gom, obj, CascadeType, int, Object). New bridge: save$default(gom, obj, CascadeType, NullPolicy, int, Object).

This is a binary break, not a source break. Any module compiled against Drivine ≤ 0.0.72 that calls save(x) or save(x, cascade) relying on defaults still compiles, and then throws at runtime the first time that line executes. @JvmOverloads does not preserve the old $default ABI.

`
embabel-chat-store has been updated as well.

@johnsonr
johnsonr merged commit c769d9c into main Jul 27, 2026
7 checks passed
@johnsonr
johnsonr deleted the chore/update-drivine branch July 27, 2026 09:32
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.

2 participants