mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8070507: LambdaLambdaSerialized can fail in -agentvm mode
Reviewed-by: mcimadamore
This commit is contained in:
parent
22e2343e57
commit
4b78cb3eb7
2 changed files with 8 additions and 8 deletions
|
@ -72,8 +72,8 @@ public class LambdaLambdaSerialized {
|
||||||
Map result = ls.get().get();
|
Map result = ls.get().get();
|
||||||
System.out.printf("Result: %s\n", result);
|
System.out.printf("Result: %s\n", result);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
interface LSI<T> extends Serializable {
|
interface LSI<T> extends Serializable {
|
||||||
T get();
|
T get();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -111,8 +111,8 @@ public class SerializedLambdaInInit {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
interface LSI extends Serializable {
|
interface LSI extends Serializable {
|
||||||
String convert(String x);
|
String convert(String x);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue