db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r501833 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/info/JVMInfo.java
Date Wed, 31 Jan 2007 13:14:46 GMT
Author: kristwaa
Date: Wed Jan 31 05:14:45 2007
New Revision: 501833

URL: http://svn.apache.org/viewvc?view=rev&rev=501833
Log:
DERBY-2279: JDBC3 driver is loaded instead of JDBC4 when running with jdk1.7 (inthe old test
harness).

Patch contributed by Vemund Østgaard.

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?view=diff&rev=501833&r1=501832&r2=501833
==============================================================================
--- 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 Wed Jan
31 05:14:45 2007
@@ -133,8 +133,8 @@
 
 				try {
 
-					if (Float.valueOf(javaVersion).floatValue() > 1.4f)
-						id = 5;
+					if (Float.valueOf(javaVersion).floatValue() > 1.6f)
+						id = J2SE_16;
 				} catch (NumberFormatException nfe) {
 				}
 			}



Mime
View raw message