[
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 [email protected]:
> 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