Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: b66bc976aca6ccfed27a7388037b72470361fd1f
https://github.com/hibernate/hibernate-orm/commit/b66bc976aca6ccfed27a738...
Author: Ladislav Thon <lthon(a)redhat.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/archive/scan/spi/ClassFileArchiveEntryHandler.java
M local-build-plugins/src/main/java/org/hibernate/orm/post/IndexManager.java
Log Message:
-----------
HHH-15466 Compatibility with Jandex 3.0.0
The only change in Jandex 3.0.0 relevant to Hibernate ORM is that
`Indexer.index()` used to return `ClassInfo`, but now returns `void`.
This is a breaking change, but Jandex 3.0.0 has a synthetic bridge
method with the old signature for binary compatibility -- except
it always return `null`. Therefore, with this commit, Hibernate ORM
simply ignores the return value completely, which makes it compatible
with Jandex 3.0.0 at runtime, even though it is still compiled against
Jandex 2.4. The code is also source-compatible with Jandex 3.0.0 if
that is ever needed.