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