Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jandex 3.1.7 release announcement #93

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions _posts/2024-03-14-jandex-3-1-7.adoc
Original file line number Diff line number Diff line change
@@ -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].
Loading