You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Neil Bartlett (JIRA)" <ji...@apache.org> on 2015/07/08 15:09:04 UTC

[jira] [Closed] (FELIX-4952) Connect fails to build on Java 1.5

     [ 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)