write(SESSION); writeSpace();  String date = getDate(); write(date); writeSpace(); for (int i = SESSION.length() + date.length(); i < 78; i++) { write("-"); } writeln();  try { String key = "java.fullversion"; String value = System.getProperty(key); if (value == null) { key = "java.version"; value = System.getProperty(key); writeln(key + "=" + value); key = "java.vendor"; value = System.getProperty(key); writeln(key + "=" + value); } else { writeln(key + "=" + value); } } catch (Exception e) {   }
super.writeSession();
	protected void writeSession() throws IOException {		write(SESSION);		writeSpace();		//TODO "timestamp" is a more correct name		String date = getDate();		write(date);		writeSpace();		for (int i = SESSION.length() + date.length(); i < 78; i++) {			write("-"); //$NON-NLS-1$		}		writeln();		// Write out certain values found in System.getProperties()		try {			String key = "java.fullversion"; //$NON-NLS-1$			String value = System.getProperty(key);			if (value == null) {				key = "java.version"; //$NON-NLS-1$				value = System.getProperty(key);				writeln(key + "=" + value); //$NON-NLS-1$				key = "java.vendor"; //$NON-NLS-1$				value = System.getProperty(key);				writeln(key + "=" + value); //$NON-NLS-1$			} else {				writeln(key + "=" + value); //$NON-NLS-1$			}		} catch (Exception e) {			// If we're not allowed to get the values of these properties			// then just skip over them.		}		// The Bootloader has some information that we might be interested in.		write("BootLoader constants: OS=" + EnvironmentInfo.getDefault().getOS()); //$NON-NLS-1$		write(", ARCH=" + EnvironmentInfo.getDefault().getOSArch()); //$NON-NLS-1$		write(", WS=" + EnvironmentInfo.getDefault().getWS()); //$NON-NLS-1$		writeln(", NL=" + EnvironmentInfo.getDefault().getNL()); //$NON-NLS-1$		// Add the command-line arguments used to invoke the platform 		// XXX: this includes runtime-private arguments - should we do that?		String[] args = EnvironmentInfo.getDefault().getNonFrameworkArgs();		if (args != null && args.length > 0) {			write("Command-line arguments:"); //$NON-NLS-1$			for (int i = 0; i < args.length; i++) {				//mask out the password argument for security				if (i > 0 && PASSWORD.equals(args[i - 1]))					write(" (omitted)"); //$NON-NLS-1$				else					write(" " + args[i]); //$NON-NLS-1$			}			writeln();		}	}