[weld-issues] [JBoss JIRA] (CDITCK-263) UnproxyableManagedBeanTest should test runtime exception

2012-06-04 Thread Martin Kouba (JIRA)

 [ 
https://issues.jboss.org/browse/CDITCK-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Kouba resolved CDITCK-263.
-

Fix Version/s: 1.1.0.Alpha3
   (was: 1.1.0.CR1)
   Resolution: Done


 UnproxyableManagedBeanTest should test runtime exception
 

 Key: CDITCK-263
 URL: https://issues.jboss.org/browse/CDITCK-263
 Project: CDI TCK
  Issue Type: Bug
  Security Level: Public(Everyone can see) 
Reporter: Martin Kouba
Assignee: Martin Kouba
 Fix For: 1.1.0.Alpha3


 Fix 
 *org.jboss.jsr299.tck.tests.implementation.simple.lifecycle.unproxyable.UnproxyableManagedBeanTest*
  to test runtime exception (UnproxyableResolutionException) instead of 
 deployment time exception (DefinitionException).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues


[weld-issues] [JBoss JIRA] (CDITCK-276) check visibility rules for injected proxies

2012-06-04 Thread Mark Struberg (JIRA)
Mark Struberg created CDITCK-276:


 Summary: check visibility rules for injected proxies
 Key: CDITCK-276
 URL: https://issues.jboss.org/browse/CDITCK-276
 Project: CDI TCK
  Issue Type: Enhancement
  Security Level: Public (Everyone can see)
Reporter: Mark Struberg


Consider the following situation:

You have an EAR with the following in a shared ejb-jar.xml lib:
  
public interface X..
 and
@Stateless class MyEJB{ private @Inject X; ...

The EAR also contains 2 web applications which have the following 
implementations of X:

A implements X in webappA
B implements X in webappB

regarding on the webapp, the proxy either points to an instance of A or B
which are NOT castable to each other.

This is basically only possible if we only inject a subclass (or implementation 
if X is a pure interface) of X as proxy into the shared EJB.

Not sure though how this could be unit tested via the TCK.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues