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

allow primitive type signatures on fields #339

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Nov 27, 2023

The grammar for generic signatures in the JVMS is pretty clear that a signature for a field is a reference type signature. However, there are class files in the wild that contain a primitive type signature for a field. This commit makes that acceptable in Jandex, even though it technically isn't valid bytecode.

Fixes #338

The grammar for generic signatures in the JVMS is pretty clear that
a signature for a field is a reference type signature. However,
there are class files in the wild that contain a primitive type
signature for a field. This commit makes that acceptable in Jandex,
even though it technically isn't valid bytecode.
@Ladicek Ladicek added this to the 3.1.6 milestone Nov 27, 2023
@Ladicek Ladicek merged commit b5618fe into smallrye:main Nov 27, 2023
39 checks passed
@Ladicek Ladicek deleted the field-primitive-signature branch November 27, 2023 12:50
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.

Indexing throws an NPE in some cases
1 participant