Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 BB270B04F for ; Wed, 4 Jan 2012 12:40:19 +0000 (UTC) Received: (qmail 71975 invoked by uid 500); 4 Jan 2012 12:40:19 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 71774 invoked by uid 500); 4 Jan 2012 12:40:18 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 71671 invoked by uid 99); 4 Jan 2012 12:40:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 12:40:17 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of marcel.offermans@luminis.nl does not designate 194.109.24.36 as permitted sender) Received: from [194.109.24.36] (HELO smtp-vbr16.xs4all.nl) (194.109.24.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 12:40:08 +0000 Received: from [10.0.0.36] (planetmarrs.xs4all.nl [82.95.193.148]) (authenticated bits=0) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id q04Cdk1A040683 for ; Wed, 4 Jan 2012 13:39:47 +0100 (CET) (envelope-from marcel.offermans@luminis.nl) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [WebConsole] Dropping 1.4 builds ? From: Marcel Offermans In-Reply-To: Date: Wed, 4 Jan 2012 13:39:46 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <505CD586-69FF-4744-A693-96D031186043@luminis.nl> References: To: X-Mailer: Apple Mail (2.1084) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org On Jan 4, 2012, at 13:16 PM, Felix Meschberger wrote: > I recently converted the Web Console code to use Generics and added = the target jsr14 flag for the compiler to build Java 1.4 compatible = class files. All fine and well. >=20 > until ... JDK 7 comes along ... >=20 > I just learned that the JDK 7 compiler does not support jsr14 compiled = class files any longer and runs havock... >=20 > So, there are basically three options: >=20 > (a) drop Java 1.4 support completely compiling to Java 5 class files > (b) drop generics (and have Java 1.4 sources again) > (c) have multiple build profiles >=20 > I would like to keep generics. They make a lot of things nicer. But = then we alienate the embedded market ... >=20 > Where shall we go ?=20 Let's start by concluding that this problem is a lot bigger in scope = than just web console. As Holger recently pointed out on this list, the = OSGi Alliance relied on an appearantly unsupported and (since Java 7) = dead "-target jsr14" option. It would be nice to learn how they intend = to solve this issue before we do, because it probably makes sense to = align our decision with theirs. If I personally had to make a decision between supporting Java 1.4 or = using generics, I would keep support for Java 1.4. In the end we build = our software for our users and I know there are quite a few of them that = run on embedded platforms that don't yet support Java 5. Greetings, Marcel