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