db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4816) There are quite a few instances in Derby plan exporter and test code where PrivilegedActionException is thrown instead of the unwrapped exception
Date Thu, 17 Feb 2011 20:32:24 GMT

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

Lily Wei updated DERBY-4816:
----------------------------

    Urgency: Normal
     Labels: derby_triage10_8  (was: )

> There are quite a few instances in Derby plan exporter  and test code where PrivilegedActionException
is thrown instead of the unwrapped exception
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4816
>                 URL: https://issues.apache.org/jira/browse/DERBY-4816
>             Project: Derby
>          Issue Type: Bug
>          Components: Test, Tools
>    Affects Versions: 10.7.1.1
>            Reporter: Kathey Marsden
>              Labels: derby_triage10_8
>
> In working on DERBY-4812, I noticed the plan exporter tool and some tests also throw
PrivilegedActionException instead of the underlying exception.   These should be examined,
but I think generally we should throw the unwrapped exception.
> >grep 'throws PrivilegedActionException' `find java -name '*.java'`
> ava/testing/org/apache/derbyTesting/functionTests/tests/lang/XplainStatisticsTe
> st.java:     * @throws PrivilegedActionException
> java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java:
> * @throws PrivilegedActionException
> java/testing/org/apache/derbyTesting/functionTests/util/FTFileUtil.java:
> throws PrivilegedActionException
> java/testing/org/apache/derbyTesting/functionTests/util/FTFileUtil.java:
> throws PrivilegedActionException
> java/testing/org/apache/derbyTesting/functionTests/util/TestRoutines.java: * @th
> rows PrivilegedActionException
> java/testing/org/apache/derbyTesting/functionTests/util/TestRoutines.java:    th
> rows PrivilegedActionException, IOException
> java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java:     * @throws
> PrivilegedActionException
> java/testing/org/apache/derbyTesting/junit/BaseTestCase.java:        throws Priv
> ilegedActionException
> java/testing/org/apache/derbyTesting/junit/SupportFilesSetup.java:    protected
> void setUp() throws PrivilegedActionException, IOException
> java/testing/org/apache/derbyTesting/junit/SupportFilesSetup.java:    throws Pri
> vilegedActionException
> java/testing/org/apache/derbyTesting/junit/SupportFilesSetup.java:        throws
>  PrivilegedActionException, IOException
> java/testing/org/apache/derbyTesting/junit/SystemPropertyTestSetup.java:
> throws PrivilegedActionException
> java/testing/org/apache/derbyTesting/junit/TestConfiguration.java:     * @throws
>  PrivilegedActionException
> java/tools/org/apache/derby/impl/tools/planexporter/CreateXMLFile.java:     * @t
> hrows PrivilegedActionException
> java/tools/org/apache/derby/impl/tools/planexporter/CreateXMLFile.java:     * @t
> hrows PrivilegedActionException

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message