Files
Alexey Kudravtsev 67f7db108e fix syntax errors in test files to make sure we are testing the correct thing
GitOrigin-RevId: 09bf5fde01489c9edbc233e586fe7137f7e3fe9b
2023-09-26 13:04:00 +00:00

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 {}