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