Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98D64180D9 for ; Thu, 18 Jun 2015 21:47:00 +0000 (UTC) Received: (qmail 6400 invoked by uid 500); 18 Jun 2015 21:47:00 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 6353 invoked by uid 500); 18 Jun 2015 21:47:00 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 6343 invoked by uid 99); 18 Jun 2015 21:47:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 21:47:00 +0000 Date: Thu, 18 Jun 2015 21:47:00 +0000 (UTC) From: "Kevin Sweeney (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AURORA-1357) Consider enabling requireExplicitBindings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kevin Sweeney created AURORA-1357: ------------------------------------- Summary: Consider enabling requireExplicitBindings Key: AURORA-1357 URL: https://issues.apache.org/jira/browse/AURORA-1357 Project: Aurora Issue Type: Bug Components: Scheduler Reporter: Kevin Sweeney Right now our Guice configuration allows the creation of JIT bindings, which makes it hard to reason about which injector a provider will be created in. We should consider turning up the [requireExplicitBindings|http://google.github.io/guice/api-docs/3.0/javadoc/com/google/inject/Binder.html#requireExplicitBindings()] flag to avoid the pitfalls seen in https://reviews.apache.org/r/35627/. Since we've released 0.8.0 with a security SPI defined in terms of Guice Modules this would be a backwards-incompatible change. We should introduce this change with a deprecation warning message when implicit bindings are detected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)