@ Override public void introspect ( PrintWriter writer ) { RuntimeMXBean runtime = ManagementFactory . getRuntimeMXBean ( ) ; introspectUptime ( runtime , writer ) ; introspectVendorVersion ( runtime , writer ) ; introspectInputArguments ( runtime , writer ) ; Map < String , String > props = introspectSystemProperties ( runtime , writer ) ; //introspectPaths(runtime, writer); introspectDirsFromSystemProperties ( runtime , writer , "java.ext.dirs" , props ) ; introspectDirsFromSystemProperties ( runtime , writer , "java.endorsed.dirs" , props ) ; }
Grab a snapshot of the current system properties .