db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4867) Update BaseTestCase.isSunJVM() to accept Oracle
Date Wed, 27 Oct 2010 11:47:23 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-4867:
--------------------------------------

    Attachment: oracle.diff

The attached patch makes isSunJVM() return true if java.vendor is one of "Sun Microsystems
Inc." and "Oracle Corporation".

Without the patch, Derby151Test (e.g.) will be skipped with JDK 7. I've verified that the
test is not skipped when the patch is applied.

> Update BaseTestCase.isSunJVM() to accept Oracle
> -----------------------------------------------
>
>                 Key: DERBY-4867
>                 URL: https://issues.apache.org/jira/browse/DERBY-4867
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.7.1.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: oracle.diff
>
>
> The latest builds of JDK 7 at https://jdk7.dev.java.net/ have "Oracle Corporation" in
the system property java.vendor. Since isSunJVM() only checks for "Sun Microsystems Inc.",
some tests will be excluded on JDK 7 even if they would have worked. We should update isSunJVM()
to return true for "Oracle Corporation" too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message