Skip to content

build: AssertJ with the Byte Buddy it needs; MariaDB Connector/J 3.5.11 - #83

Merged
stbischof merged 2 commits into
mainfrom
fix/bytebuddy-for-assertj
Nov 10, 2026
Merged

stbischof merged 2 commits into
mainfrom
fix/bytebuddy-for-assertj

Conversation

@stbischof

Copy link
Copy Markdown
Contributor

Main is red since AssertJ 3.27.7 came in, and Dependabot reports MariaDB Connector/J 3.4.3.

AssertJ and Byte Buddy

  • AssertJ 3.27 imports net.bytebuddy from 1.18 on. The parent pom manages Byte Buddy 1.17.5, so the OSGi test runs of jdbc/impl and guard/jsqltranspiler could not resolve AssertJ.
  • The root pom and jdbc/pom.xml, whose parent is the daanse parent pom, now set the two side by side: AssertJ 3.27.7 and Byte Buddy 1.18.3, the version AssertJ is built against. jdbc/impl takes AssertJ from there.

MariaDB Connector/J

  • jdbc/metadata used 3.4.3, which the advisories fixed in 3.4.5 cover. It and dialect/db/mariadb now take 3.5.11, the latest 3.x.

Dependabot raised AssertJ to 3.27.7 in the root pom and in jdbc/impl.
AssertJ 3.27 imports net.bytebuddy from 1.18 on, but the parent pom
manages Byte Buddy 1.17.5, so the OSGi test runs of jdbc/impl and
guard/jsqltranspiler could not resolve AssertJ and failed on main.

The root pom and jdbc/pom.xml, whose parent is the daanse parent pom,
now set the two side by side: AssertJ 3.27.7 and Byte Buddy 1.18.3,
the version AssertJ is built against. jdbc/impl takes AssertJ from
there instead of naming its own version.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
Connector/J before 3.4.5 has several advisories, among them a rogue
server driving large heap allocations from lengths it declares in OK
packets; jdbc/metadata used 3.4.3. Both test dependencies on the
driver now take 3.5.11, the latest 3.x.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
@stbischof
stbischof merged commit 23911ac into main Nov 10, 2026
29 checks passed
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