title: Compiling Java 7 to Java 6
body: <p>I'm aware that the runtime features of Java 7 are not available with Java 6 but since <s>no new byte code has been added</s> the new byte code <code>invokedynamic</code> is only relevant for non-Java languages, I was wondering how hard it would be to convert Java 7 source code (new <code>switch</code> statement, diamond operator) to pure Java 6 (i.e. to be able to start to convert the source to Java 7 without losing Java 6 compatibility).</p>
  
  <p>Any pointers?</p>