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