You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jennifer A Thompson (JIRA)" <de...@tuscany.apache.org> on 2011/09/15 20:20:08 UTC
[jira] [Created] (TUSCANY-3946) Capability to skip setting TCCL in
JavaImplementationInvoker.invoke()
Capability to skip setting TCCL in JavaImplementationInvoker.invoke()
---------------------------------------------------------------------
Key: TUSCANY-3946
URL: https://issues.apache.org/jira/browse/TUSCANY-3946
Project: Tuscany
Issue Type: Improvement
Components: SCA Java Runtime
Affects Versions: Java-SCA-2.x
Reporter: Jennifer A Thompson
Fix For: Java-SCA-2.x
Setting the TCCL in the JavaImplementationInvoker can interfere with runtimes extending the Tuscany OASIS runtime. So there should be a mechanism for products extending the runtime to be able to skip setting the TCCL in JavaImplementationInvoker.invoke().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TUSCANY-3946) Capability to skip setting TCCL in
JavaImplementationInvoker.invoke()
Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws reassigned TUSCANY-3946:
-----------------------------------
Assignee: Simon Laws
> Capability to skip setting TCCL in JavaImplementationInvoker.invoke()
> ---------------------------------------------------------------------
>
> Key: TUSCANY-3946
> URL: https://issues.apache.org/jira/browse/TUSCANY-3946
> Project: Tuscany
> Issue Type: Improvement
> Components: SCA Java Runtime
> Affects Versions: Java-SCA-2.x
> Reporter: Jennifer A Thompson
> Assignee: Simon Laws
> Fix For: Java-SCA-2.x
>
>
> Setting the TCCL in the JavaImplementationInvoker can interfere with runtimes extending the Tuscany OASIS runtime. So there should be a mechanism for products extending the runtime to be able to skip setting the TCCL in JavaImplementationInvoker.invoke().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TUSCANY-3946) Capability to skip setting TCCL in
JavaImplementationInvoker.invoke()
Posted by "Simon Laws (Closed) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws closed TUSCANY-3946.
-------------------------------
Resolution: Fixed
I've had a bit of a change of heart about this one. I'm concerned that putting extra doPrivileged checks in the main message flow is going to have a negative impact on performance so I've swapped out that code so a check on the presence of a message header does the job now. If you want to set TCCL earlier in the chain add Constants.SUPPRESS_TCCL_SWAP to the message header and the implementation invoker won't try and repeat the process.
> Capability to skip setting TCCL in JavaImplementationInvoker.invoke()
> ---------------------------------------------------------------------
>
> Key: TUSCANY-3946
> URL: https://issues.apache.org/jira/browse/TUSCANY-3946
> Project: Tuscany
> Issue Type: Improvement
> Components: SCA Java Runtime
> Affects Versions: Java-SCA-2.x
> Reporter: Jennifer A Thompson
> Assignee: Simon Laws
> Fix For: Java-SCA-2.x
>
>
> Setting the TCCL in the JavaImplementationInvoker can interfere with runtimes extending the Tuscany OASIS runtime. So there should be a mechanism for products extending the runtime to be able to skip setting the TCCL in JavaImplementationInvoker.invoke().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TUSCANY-3946) Capability to skip setting TCCL
in JavaImplementationInvoker.invoke()
Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105986#comment-13105986 ]
Simon Laws commented on TUSCANY-3946:
-------------------------------------
I have a local change that, before setting and resetting TCCL in JavaImplementationInvoker, asks whether the TCCL is already set to the contribution classloader. This is a simple change that requires no configuration and which shouldn't upset anything else.
However I note that this change makes the same assumption that you're debating in TUSCANY-3947 so we need to work out what the answer to that is before closing this JIRA. I'll still commit my change for this assuming I get a clean build.
> Capability to skip setting TCCL in JavaImplementationInvoker.invoke()
> ---------------------------------------------------------------------
>
> Key: TUSCANY-3946
> URL: https://issues.apache.org/jira/browse/TUSCANY-3946
> Project: Tuscany
> Issue Type: Improvement
> Components: SCA Java Runtime
> Affects Versions: Java-SCA-2.x
> Reporter: Jennifer A Thompson
> Assignee: Simon Laws
> Fix For: Java-SCA-2.x
>
>
> Setting the TCCL in the JavaImplementationInvoker can interfere with runtimes extending the Tuscany OASIS runtime. So there should be a mechanism for products extending the runtime to be able to skip setting the TCCL in JavaImplementationInvoker.invoke().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira