mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8013789: Compiler should emit bridges in interfaces
Paired with 8015402
: Lambda metafactory should not attempt to determine bridge methods
Reviewed-by: vromero
This commit is contained in:
parent
55c85107b7
commit
1839512a15
8 changed files with 166 additions and 68 deletions
|
@ -112,6 +112,6 @@ public class BridgeMethod {
|
|||
Class<?> returnType = m.getReturnType();
|
||||
assertTrue(types.remove(returnType.getName()));
|
||||
}
|
||||
assertTrue(types.isEmpty());
|
||||
assertTrue(types.size() == 1); //there's a bridge
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue