Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4886411D80 for ; Tue, 23 Sep 2014 12:53:34 +0000 (UTC) Received: (qmail 21453 invoked by uid 500); 23 Sep 2014 12:53:34 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 21426 invoked by uid 500); 23 Sep 2014 12:53:34 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 21415 invoked by uid 500); 23 Sep 2014 12:53:34 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 21412 invoked by uid 99); 23 Sep 2014 12:53:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 12:53:34 +0000 Date: Tue, 23 Sep 2014 12:53:34 +0000 (UTC) From: "Andy Gumbrecht (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOMEE-1359) TomEEInjectionEnricher does not always return correct AppContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144744#comment-14144744 ] Andy Gumbrecht commented on TOMEE-1359: --------------------------------------- I've checked in a fix which works on known fails in Tribestream. I will port the test to TomEE, but wanted to get this in to highlight the issue - took an age to find it! > 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)