ComponentContext.getRequestContext() does not return null when no active request
--------------------------------------------------------------------------------
Key: TUSCANY-2021
URL: https://issues.apache.org/jira/browse/TUSCANY-2021
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.1
Environment: All
Reporter: Simon Nash
Assignee: Simon Nash
Priority: Minor
Fix For: Java-SCA-Next
When calling ComponentContext.getRequestContext() from an @Init method, null
should be returned (see lines 809/810 of the Java Annotations and APIs spec).
Instead, a non-functional instance of RequestContextImpl is returned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]