Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This code is creating a field with the same type as a method return type. The return type is erased, but calling `getGenericSignature()` turns the erased type back into a generic type. For methods with type parameters, this results in signatures that are invalid for field declarations, for example `<T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/io/Serializable;`. Future versions of bytebuddy reject the invalid signature. See also raphw/byte-buddy#1771
- Loading branch information