db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r418687 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java
Date Mon, 03 Jul 2006 05:45:33 GMT
Author: kahatlen
Date: Sun Jul  2 22:45:32 2006
New Revision: 418687

URL: http://svn.apache.org/viewvc?rev=418687&view=rev
Log:
DERBY-1427: sysinfo does not write Java SE and JDBC version when
running under JDK 1.6

Make sysinfo print "JRE - JDBC: Java SE 6 - JDBC 4.0" when running
under JVM version 1.6.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java?rev=418687&r1=418686&r2=418687&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java Sun Jul
 2 22:45:32 2006
@@ -42,7 +42,7 @@
 	public static final int J2SE_14 = 4;
 	public static final int J2SE_142 = 5;
 	public static final int J2SE_15 = 6; // aka J2SE 5.0
-	public static final int J2SE_16 = 7; 
+	public static final int J2SE_16 = 7; // Java SE 6, not J2SE
 
 	public static final boolean J2ME;
 
@@ -165,6 +165,7 @@
 		case J2SE_14: return "J2SE 1.4 - JDBC 3.0";
 		case J2SE_142: return "J2SE 1.4.2 - JDBC 3.0";
 		case J2SE_15: return "J2SE 5.0 - JDBC 3.0";
+		case J2SE_16: return "Java SE 6 - JDBC 4.0";
 		default: return "?-?";
 		}
 	}



Mime
View raw message