smallrye / jandex

Java Annotation Indexer
Apache License 2.0
394 stars 94 forks source link

Ignore invalid generic signatures during indexing #296

Closed Ladicek closed 1 year ago

Ladicek commented 1 year ago

In case an invalid generic signature appears in the bytecode, indexing fails with an exception. This is unfriendly, because ECJ emits invalid generic signatures on pretty basic code (a synthetic static method generated for a lambda), so ECJ-generated code cannot be indexed.

This commit simply ignores a generic signature that cannot be parsed.

Fixes #32