Fix ASM SignatureReader choking on lambda signatures generated by JDT (#42)
This commit is contained in:
parent
ae50d3187f
commit
d8bf831e48
@ -49,4 +49,13 @@ public abstract class CustomRemapper extends Remapper {
|
||||
public String mapFieldName(String owner, String name, String desc, int access) {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String mapSignature(String signature, boolean typeSignature) {
|
||||
// JDT decorates some lambdas with this and SignatureReader chokes on it
|
||||
if (signature != null && signature.contains("!*")) {
|
||||
return null;
|
||||
}
|
||||
return super.mapSignature(signature, typeSignature);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user