title: Last updated time for a class inside a jar
body: <p>I'm trying to find the .class creation time for a file inside a jar.
  But When I try to use this piece of code, I'm getting the Jar creation time instead of the .class file creation time.</p>
  
  <pre><code>URL url = TestMain.class.getResource("/com/oracle/determinations/types/CommonBuildTime.class");
      url.getPath();
      try {
          System.out.println(" Time modified :: "+ new Date(url.openConnection().getLastModified()));
      } catch (IOException e) {
          e.printStackTrace();
      }
  </code></pre>
  
  <p>But when I open the jar I can see the .class creation time is different from that of the jar creation time.</p>