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

Romain Manni-Bucau commented on TOMEE-1359:
-------------------------------------------

'context.getBeanClass().getClassLoader() == loader'  is always true in embedded 
mode but this condition shouldn't be hit. If it is you deploy your test in 
container which is another case we don't handle ATM and which will lead to 
other issue later.

Can you update trunk test to make it failling?

> TomEEInjectionEnricher does not always return correct AppContext
> ----------------------------------------------------------------
>
>                 Key: TOMEE-1359
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1359
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Arquillian Adapters
>    Affects Versions: 2.0.0, 1.7.1, 2.0.0-Milestone-1
>         Environment: Java 7 and 8
>            Reporter: Andy Gumbrecht
>            Assignee: Andy Gumbrecht
>             Fix For: 2.0.0-Milestone-1, 1.7.2
>
>
> TomEEInjectionEnricher does not always return correct AppContext - The first 
> context for which a BeanContext is found is returned. This has in fact been 
> an arbitrary result of a List iteration (which has no guarantee of order) and 
> has only come to light in differences between Java 7 and 8.



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

Reply via email to