From ba6228ec4a5ebae88ec32aff6a41a56f6e56a2b6 Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Thu, 14 Mar 2024 11:49:51 +0100 Subject: [PATCH] Jandex 3.1.7 release announcement --- _posts/2024-03-14-jandex-3-1-7.adoc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 _posts/2024-03-14-jandex-3-1-7.adoc diff --git a/_posts/2024-03-14-jandex-3-1-7.adoc b/_posts/2024-03-14-jandex-3-1-7.adoc new file mode 100644 index 00000000..8b849e1a --- /dev/null +++ b/_posts/2024-03-14-jandex-3-1-7.adoc @@ -0,0 +1,29 @@ +:page-layout: post +:page-title: Jandex 3.1.7 +:page-synopsis: Jandex 3.1.7 released! +:page-tags: [announcement] +:page-date: 2024-03-14 10:00:00.000 +0100 +:page-author: lthon + += Jandex 3.1.7 + +Today, we announce the https://github.com/smallrye/jandex/releases/tag/3.1.7[release] of Jandex 3.1.7. +This release contains several small fixes and improvements. + +A few utility methods are added to improve quality of life: + +* `Type.create(Class)` to create a `Type` object from `java.lang.Class` +* `PrimitiveType.box()` and `unbox()` static methods for converting between primitive types and primitive wrapper classes + +Two bugs were fixed in `AnnotationInstanceBuilder` when adding class-valued members: + +* if given a `Class` object, it was always assumed that it represents a class type; the `void` pseudo-type, primitive types and array types were not handled correctly +* if given a `Type` object that represents a multi-dimensional array, it was incorrectly rejected + +A bug was fixed in sorting classes during type annotation propagation. +Similar problem was already fixed before, but it turned out that with bytecode obfuscation, the previous fix was not effective. + +Finally, some dependencies of the Jandex Maven plugin were updated, mainly to fix a possible issue with indexing reproducibility. +Thanks Jorge Solórzano for the pull request! + +If you experience any troubles, or if you have any ideas for Jandex improvements, please https://github.com/smallrye/jandex/issues[file an issue].