mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
18 lines
299 B
Java
18 lines
299 B
Java
// "Suppress for class" "true"
|
|
|
|
@SuppressWarnings("synchronization")
|
|
class Main {
|
|
final OpenValueBased vb = new OpenValueBased(){};
|
|
|
|
void f(){
|
|
var l = ((new OpenValueBased() {
|
|
{
|
|
synchronized (vb){ }
|
|
}
|
|
}));
|
|
}
|
|
}
|
|
|
|
@jdk.internal.ValueBased
|
|
interface OpenValueBased { }
|