title: Find deprecated JVM flags
body: <p>I'm using the <code>java -XX:+PrintFlagsFinal -version</code> as per the  <em><a href="https://stackoverflow.com/questions/10486375/print-all-jvm-flags">Print all JVM flags</a></em> question, to compare results between difference JDKs on my upgrade path to JVM 11.</p>
  
  <p>I've noticed though that the result of <code>PrintFlagsFinal</code> will still return deprecated options — e.g. <code>PrintGC</code> is still present, even though running <code>-XX:+PrintGC</code> issues a warning &amp; runs <code>-Xlog:gc</code> instead.</p>
  
  <p>So is there an option similar to <code>PrintFlagsFinal</code> that I can use to find all options that are currently deprecated so I can avoid using them? </p>
  
  <p>(Know that I can manually check the release notes, but wondering if there's an in-built way of finding out from the JVM, similar to <code>jdeprscan</code> for deprecated module dependencies)</p>