[
https://issues.apache.org/jira/browse/FELIX-4952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618532#comment-14618532
]
Neil Bartlett commented on FELIX-4952:
--------------------------------------
Hi Karl, I can't test on java5 either. I actually don't care about java5, I
just wanted the build to work, which it didn't because of the animal-sniffer
settings.
What is the policy with regard to minimal java version for this project?
Thanks, Neil
> 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)