Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC4847674 for ; Wed, 14 Sep 2011 18:03:32 +0000 (UTC) Received: (qmail 76214 invoked by uid 500); 14 Sep 2011 18:03:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 76191 invoked by uid 500); 14 Sep 2011 18:03:32 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 76184 invoked by uid 99); 14 Sep 2011 18:03:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 18:03:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 18:03:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D5C5D9734A for ; Wed, 14 Sep 2011 18:03:08 +0000 (UTC) Date: Wed, 14 Sep 2011 18:03:08 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: <694928426.27621.1316023388871.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1872319858.27367.1316020509225.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5410) sysinfo does know about Java 7 jdbc 4.1 level MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-5410: -------------------------------------- Attachment: DERBY-5410_1.diff Attaching a patch that does return 1.7 SE / JDBC 4.1, like so: java.specification.name: Java Platform API Specification java.specification.version: 1.7 java.runtime.version: 1.7.0-b147 --------- Derby Information -------- JRE - JDBC: Java SE 7 - JDBC 4.1 [C:\derbyt\svn\trunk\jars\insane\derby.jar] 10.9.0.0 alpha - (1170721M) > sysinfo does know about Java 7 jdbc 4.1 level > --------------------------------------------- > > Key: DERBY-5410 > URL: https://issues.apache.org/jira/browse/DERBY-5410 > Project: Derby > Issue Type: Bug > Components: Tools > Affects Versions: 10.8.1.2, 10.8.2.1, 10.9.0.0 > Reporter: Myrna van Lunteren > Priority: Minor > Attachments: DERBY-5410_1.diff > > > Since 10.8.1.2 JDBC 4.1 is supported but sysinfo hasn't been updated, and so is not able to return updated JDBC level info. > The addition needs to go here: > Class: org.apache.derby.iapi.services.info.JVMInfo > Method: > /** > Return Derby's understanding of the virtual machine's environment. > */ > public static String derbyVMLevel() > { > switch (JDK_ID) > { > case J2SE_14: return J2ME ? "J2ME - JDBC for CDC/FP 1.1" : "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 "?-?"; > } > } > This was reported in email to derbydev by frank.pientka@gmx.de: > http://old.nabble.com/Re%3A--VOTE--10.8.2.1-release-p32462975.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira