msgs.add("Method "+className+"#t_lock2(Ljava/util/concurrent/locks/Lock;)V contains potentially blocking call to java/util/concurrent/locks/Lock#lockInterruptibly()V");
MethodDatabase db = new MethodDatabase(BlockingTest.class.getClassLoader());
MethodDatabaseUtil.load(db, "nginx/clojure/wave/coroutine-method-db.txt");
db.setAllowBlocking(true);
db.setLog(new TinyLogService() {
@Override
public void warn(String message, Object ...args) {
message = String.format(Locale.ENGLISH, message, args);
assertTrue("Unexpected message: " + message, msgs.remove(message));
}