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 "Mike Matrigali (Commented) (JIRA)" <ji...@apache.org> on 2011/12/15 19:14:30 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13170381#comment-13170381 ] 

Mike Matrigali commented on DERBY-5542:
---------------------------------------

Do you happen to know what now happens if you try to run 10.8 with a pre-jdk14 jvm.  It would be nice if you got some reasonable error or warning vs. some wierd error now that the old code path is gone.  Doing this in one place at boot is probably reasonable cost vs the multiple checks that you are going after.
                
> 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