Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2F2E18F6C for ; Mon, 21 Sep 2015 18:00:07 +0000 (UTC) Received: (qmail 49558 invoked by uid 500); 21 Sep 2015 18:00:07 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 49402 invoked by uid 500); 21 Sep 2015 18:00:07 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 49390 invoked by uid 99); 21 Sep 2015 18:00:07 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2015 18:00:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B887E1A51B0 for ; Mon, 21 Sep 2015 18:00:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Omk2T9BLs1t4 for ; Mon, 21 Sep 2015 17:59:56 +0000 (UTC) Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1857020604 for ; Mon, 21 Sep 2015 17:59:56 +0000 (UTC) Received: by iofb144 with SMTP id b144so128836786iof.1 for ; Mon, 21 Sep 2015 10:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=NmTrdtY2w5UI5/5c6IdlhOuvH0ThyGkNyZy3uB5bYB8=; b=drFrjepwV7EcA2jgta23hveF/TyKIkay3YJtnTb+Kq1A1l165VzO9kdq7zcNEQ6x8K a3Bduj3sKJZX2Gux12vdFgAiXkPtMRzmkHHGf8X/3ru83FTA6iOUcnLWTydigYa/n1nC p9Dya287wCYYA5tpKkS6ceUNV4ag/kBiDwc484cwL0uTUfDDc136zVTtIRSWmJoXHsvI 1SUtZsG427WZ/RZFd2lsDswb9t4ocOM2g0SsfPKJDXziDqUKvnUn1eVGZ6j60euRFUIb wJckxdJPYu6J/WTnSAP51eHggY7b7tPZNArq/cd8ZWJUWKq8h3zgdAljC7XgI8bOqYdo kWgA== MIME-Version: 1.0 X-Received: by 10.107.168.39 with SMTP id r39mr31473504ioe.42.1442858395144; Mon, 21 Sep 2015 10:59:55 -0700 (PDT) Received: by 10.107.135.199 with HTTP; Mon, 21 Sep 2015 10:59:55 -0700 (PDT) In-Reply-To: References: <56003CF7.20805@gmail.com> Date: Mon, 21 Sep 2015 18:59:55 +0100 Message-ID: Subject: Re: Version number for next commons-io From: sebb To: Commons Developers List , joerg.schaible@gmx.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21 September 2015 at 18:36, J=C3=B6rg Schaible w= rote: > Gary Gregory wrote: > >> Alternative to keep 100% BC >> >> - Remove the new method, release 2.5, and add it back for SNAPSHOT >> - Add the new method in a new sub-interface > > or catch and ignore this special RTE when calling the new method form our > code. Old clients never asked for it, new/updated clients can use it. > Listener interface is a special case here. This is what the JLS says about binary compatibity of a method addition to an interface: https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.5.3-10= 0 If the code were to use reflection it would notice the difference, but otherwise the change is BC according to the JLS. I don't think we need to do anything here, beyond pointing out that recompilated client code may need to be updated. But that is not a binary compatible issue, it is source compatibilty. > - J=C3=B6rg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org