Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 73AB0200B6B for ; Thu, 25 Aug 2016 11:30:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 72523160ABD; Thu, 25 Aug 2016 09:30:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA107160A93 for ; Thu, 25 Aug 2016 11:30:21 +0200 (CEST) Received: (qmail 90310 invoked by uid 500); 25 Aug 2016 09:30:21 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 90289 invoked by uid 99); 25 Aug 2016 09:30:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 09:30:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D4AC02C014E for ; Thu, 25 Aug 2016 09:30:20 +0000 (UTC) Date: Thu, 25 Aug 2016 09:30:20 +0000 (UTC) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAY-2108) cayenne-di: StackOverflow for decorator that takes Provider of the delegate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 25 Aug 2016 09:30:22 -0000 Andrus Adamchik created CAY-2108: ------------------------------------ Summary: cayenne-di: StackOverflow for decorator that takes Provider of the delegate Key: CAY-2108 URL: https://issues.apache.org/jira/browse/CAY-2108 Project: Cayenne Issue Type: Bug Reporter: Andrus Adamchik If decorator injects the delegate directly, everything works. If it injects Provider of the decorator, we end up in a stack overflow situation, as the provider is for the decorator itself. This prevents us from creating lazy init decorators. -- This message was sent by Atlassian JIRA (v6.3.4#6332)