db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest
Date Tue, 08 May 2007 11:37:16 GMT

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

Kristian Waagan updated DERBY-2555:
-----------------------------------

    Attachment: derby-2555-1a.diff

Attaching a patch that removed the doPrivileged-blocks from the test.
If I apply this patch and run tests.store._Suite (which currently run all the three encryption
key tests), I get 9 errors (three per algorithm); testInvalidRestoreFrom, testRestoreFrom
and testCreateDbFromBackup.

The patch cannot be committed before DERBY-2556 has been resolved.

> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>            Priority: Trivial
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore
databases from a backup image in doPrivileged-calls. This was done to allow the backup images
to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls
in the appropriate places.

-- 
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