title: Java How to delete a Field Using ASM?
body: <p>I need to Delete a field In a Class file Using ASM, But im not able to Find anything that works,</p>
  
  <pre><code>for(FieldNode field : classNode.fields) {
      if(field.name.equals("max") &amp;&amp; field.value.equals(30)) {
          classNode.fields.remove(field);
          System.out.println("***DELETED " + field.name + " ***");
      }
  }
  </code></pre>
  
  <p>Its giving me a Exeption: 
  <strong>DELETED max</strong>
  <code>java.util.ConcurrentModificationException</code></p>