Skip to content

fix: upgrade byte-buddy to 1.16.1 for Java 26 compatibility - #45

Open
gokdenizyildirim020-svg wants to merge 1 commit into
MSaifAsif:masterfrom
gokdenizyildirim020-svg:fix/bytebuddy-java26-support
Open

fix: upgrade byte-buddy to 1.16.1 for Java 26 compatibility#45
gokdenizyildirim020-svg wants to merge 1 commit into
MSaifAsif:masterfrom
gokdenizyildirim020-svg:fix/bytebuddy-java26-support

Conversation

@gokdenizyildirim020-svg

Copy link
Copy Markdown

Problem

Tests were failing on Java 26 because byte-buddy 1.14.11 only supports
up to Java 22.

Failing tests (6)

  • ReflectiveAttributeTest.testEqualsAndHashCode
  • DiskPersistenceTest.testEqualsAndHashCode
  • OffHeapPersistenceTest.testEqualsAndHashCode
  • PartialIndexTest.testEqualsAndHashCode_PartialDiskIndex
  • PartialIndexTest.testEqualsAndHashCode_PartialOffHeapIndex
  • QueriesEqualsAndHashCodeTest.testQueryClass[StringMatchesRegex]

Solution

  • Upgraded byte-buddy from 1.14.11 to 1.16.1 (adds Java 26 support)
  • Updated outdated comment in pom.xml

Tested on

Java 26.0.1, macOS (Apple Silicon)

@MSaifAsif MSaifAsif linked an issue Jun 14, 2026 that may be closed by this pull request
3 tasks
@MSaifAsif

Copy link
Copy Markdown
Owner

Hey @gokdenizyildirim020-svg , Tests are failing. Will need to be fixed before I approve the merge. Check Contribution guidelines as well

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