You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/06/07 18:06:00 UTC
[jira] [Updated] (CALCITE-5762) Create class TestUnsafe, that contains unsafe methods used by tests
[ https://issues.apache.org/jira/browse/CALCITE-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde updated CALCITE-5762:
---------------------------------
Fix Version/s: 1.35.0
> Create class TestUnsafe, that contains unsafe methods used by tests
> -------------------------------------------------------------------
>
> Key: CALCITE-5762
> URL: https://issues.apache.org/jira/browse/CALCITE-5762
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Major
> Fix For: 1.35.0
>
>
> Create {{class TestUnsafe}}, that contains unsafe methods used by tests. Similar to the existing {{class Unsafe}}, this will be excluded from forbidden-apis checks. But it contains sensitive commands (e.g. {{java.lang.Runtime#exec}})) that are safe to use in tests but must not be on the runtime class path.
> Move some methods from {{class ConcurrentTestCommandScript}} to {{class TestUnsafe}}, and remove the former class from the forbidden-apis allow-list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)