mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 12:18:27 +07:00
GitOrigin-RevId: 09bf5fde01489c9edbc233e586fe7137f7e3fe9b
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 { }
|