package net.minecraft.crash; import java.util.concurrent.Callable; class CallableJavaInfo implements Callable { /** Reference to the CrashReport object. */ final CrashReport theCrashReport; CallableJavaInfo(CrashReport par1CrashReport) { this.theCrashReport = par1CrashReport; } /** * Returns the Java VM Information as a String. Includes the Version and Vender. */ public String getJavaInfoAsString() { return System.getProperty("java.version") + ", " + System.getProperty("java.vendor"); } public Object call() { return this.getJavaInfoAsString(); } }