is it a redeemable bug that `synchronized` is deco...
# announcements
d
is it a redeemable bug that
synchronized
is decompiling with empty
{}
block?
Copy code
kotlin
    fun next(): Int {
        synchronized(lock) {
            return nextId++
        }
    }
Copy code
decompiled java
   public final int next() {
      Object var1 = this.lock;
      synchronized(var1){}

      int var4;
      try {
         int var2 = this.nextId++;
         var4 = var2;
      } finally {
         ;
      }

      return var4;
   }