You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (Updated) (JIRA)" <ji...@apache.org> on 2011/12/15 14:04:30 UTC
[jira] [Updated] (DERBY-5542) Remove checks for Java version being
greater than or equal to 1.4
[ https://issues.apache.org/jira/browse/DERBY-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5542:
--------------------------------------
Attachment: d5542.diff
Attaching a patch that removes these unnecessary checks from conditions in BaseMonitor, EmbedXAResource and CorruptDiskStorageFactory.
All the regression tests passed with the patch.
> Remove checks for Java version being greater than or equal to 1.4
> -----------------------------------------------------------------
>
> Key: DERBY-5542
> URL: https://issues.apache.org/jira/browse/DERBY-5542
> Project: Derby
> Issue Type: Improvement
> Components: Miscellaneous
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
> Attachments: d5542.diff
>
>
> The code contains some checks for JVMInfo.JDK_ID >= JVMInfo.J2SE_14. That condition evaluates to true on all currently supported platforms (including on CDC/FP), so the checks can be removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira