felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r952618 - /felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java
Date Tue, 08 Jun 2010 11:37:05 GMT
Author: gnodet
Date: Tue Jun  8 11:37:05 2010
New Revision: 952618

URL: http://svn.apache.org/viewvc?rev=952618&view=rev
Log:
FELIX-2377: info - Should output the exact JRE version used

Modified:
    felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java

Modified: felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java
URL: http://svn.apache.org/viewvc/felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java?rev=952618&r1=952617&r2=952618&view=diff
==============================================================================
--- felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java
(original)
+++ felix/trunk/karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/InfoAction.java
Tue Jun  8 11:37:05 2010
@@ -61,6 +61,7 @@ public class InfoAction extends OsgiComm
 
         System.out.println("JVM");
         printValue("Java Virtual Machine", maxNameLen, runtime.getVmName() + " version "
+ runtime.getVmVersion());
+        printValue("Version", maxNameLen, System.getProperty("java.version"));
         printValue("Vendor", maxNameLen, runtime.getVmVendor());
         printValue("Uptime", maxNameLen, printDuration(runtime.getUptime()));
         try {



Mime
View raw message