db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1405823 - /db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java
Date Mon, 05 Nov 2012 15:07:38 GMT
Author: kmarsden
Date: Mon Nov  5 15:07:37 2012
New Revision: 1405823

URL: http://svn.apache.org/viewvc?rev=1405823&view=rev
Log:
DERBY-5982 sysinfo can report  JRE - JDBC: ?-? for java 8 

Add java 8 info to sysinfo. Note in 10.9 and trunk this line has been 
eliminated with DERBY-5439


Modified:
    db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java

Modified: db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java?rev=1405823&r1=1405822&r2=1405823&view=diff
==============================================================================
--- db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java (original)
+++ db/derby/code/branches/10.8/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java Mon
Nov  5 15:07:37 2012
@@ -1302,6 +1302,11 @@ public static void getMainInfo (java.io.
                 // 4.0
                 return "Java SE 7 - JDBC 4.0";
             }
+            else if (javaVersion.equals("1.8")) {
+                // We don't have full JDBC 4.1 support yet, so still print JDBC
+                // 4.0
+                return "Java SE 8 - JDBC 4.0";
+            }
             else
                 return "?-?";
         } catch (Exception e) {



Mime
View raw message