code: protected final long getClassLastModified() throws IOException, SQLException {
  		String dir=getServletContext().getRealPath("/WEB-INF/classes");
  		if(dir!=null && dir.length()>0) {
  			// Try to get from the class file
  			long lastMod=new File(dir, getClass().getName().replace('.', File.separatorChar) + ".class").lastModified();
  			if(lastMod!=0 && lastMod!=-1) return lastMod;
  		}
  		return getUptime();
  	}
docs: Gets the last modified time of the java class file.  If the class file is
  unavailable, it defaults to the time the servlets were loaded.
  
  @see  WebSiteFrameworkConfiguration#getServletDirectory
  @see  ErrorReportingServlet#getUptime()