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 "Rick Hillegas (JIRA)" <ji...@apache.org> on 2015/07/12 17:34:05 UTC

[jira] [Comment Edited] (DERBY-6741) User code can get the ContextManager from an EmbedConnection

    [ https://issues.apache.org/jira/browse/DERBY-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623851#comment-14623851 ] 

Rick Hillegas edited comment on DERBY-6741 at 7/12/15 3:33 PM:
---------------------------------------------------------------

Hi Bryan,

That test is supposed to raise (and catch) an AccessControlException. It looks like the exception was raised but not caught. Can you post the whole stack trace?

I usually run tests with 1.7. I've switched to 1.8 and am running a full test run now.  Will let you know what I see.

Thanks,
-Rick


was (Author: rhillegas):
Hi Bryan,

That test is supposed to raise (and catch) an AccessControlException. It looks like the exception was raised but not caught. Can you post the whole stack trace?

Thanks,
-Rick

> User code can get the ContextManager from an EmbedConnection
> ------------------------------------------------------------
>
>                 Key: DERBY-6741
>                 URL: https://issues.apache.org/jira/browse/DERBY-6741
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Services
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>             Fix For: 10.12.0.0
>
>         Attachments: derby-6741-01-aa-usederbyinternals.diff
>
>
> EmbedConnection.getContextManager() is a public method. Exposing internals like the ContextManager is a security risk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)