mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
This commit is contained in:
parent
3b50c5f35b
commit
8d5f5b9a6b
11 changed files with 158 additions and 131 deletions
|
@ -82,9 +82,9 @@ public final class LFGarbageCollectedTest extends LambdaFormTestCase {
|
|||
throw new Error("Unexpected error: Lambda form of the method handle is null");
|
||||
}
|
||||
|
||||
String debugName = (String)DEBUG_NAME.get(lambdaForm);
|
||||
if (debugName != null && debugName.startsWith("identity_")) {
|
||||
// Ignore identity_* LambdaForms.
|
||||
String kind = KIND_FIELD.get(lambdaForm).toString();
|
||||
if (kind.equals("IDENTITY")) {
|
||||
// Ignore identity LambdaForms.
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue