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 DD2EF18130 for ; Wed, 8 Jul 2015 13:09:04 +0000 (UTC) Received: (qmail 50616 invoked by uid 500); 8 Jul 2015 13:09:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 50547 invoked by uid 500); 8 Jul 2015 13:09:04 -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 50531 invoked by uid 99); 8 Jul 2015 13:09:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2015 13:09:04 +0000 Date: Wed, 8 Jul 2015 13:09:04 +0000 (UTC) From: "Neil Bartlett (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (FELIX-4952) Connect fails to build on Java 1.5 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/FELIX-4952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil Bartlett closed FELIX-4952. -------------------------------- Confirmed this works. > Connect fails to build on Java 1.5 > ---------------------------------- > > Key: FELIX-4952 > URL: https://issues.apache.org/jira/browse/FELIX-4952 > Project: Felix > Issue Type: Bug > Components: Connect > Reporter: Neil Bartlett > Assignee: Karl Pauls > Priority: Critical > Fix For: connect-0.2.0 > > > The maven animal sniffer plugin reports the following API violations: > {noformat} > [ERROR] /Users/nbartlett/Projects/felix-svn/connect/src/main/java/org/apache/felix/connect/PojoSR.java:107: Undefined reference: java.util.Enumeration java.util.Collections.emptyEnumeration() > [ERROR] /Users/nbartlett/Projects/felix-svn/connect/src/main/java/org/apache/felix/connect/URLRevision.java:53: Undefined reference: java.util.Enumeration java.util.Collections.emptyEnumeration() > {noformat} > Note that the {{Collections.emptyEnumeration()}} method is only available in Java 1.7+. -- This message was sent by Atlassian JIRA (v6.3.4#6332)