Bug 201335 - [patch] java/jakarta-commons-collections: Restrict build to Java 6 & 7
Summary: [patch] java/jakarta-commons-collections: Restrict build to Java 6 & 7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Greg Lewis
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-07-04 17:53 UTC by Greg Lewis
Modified: 2015-07-17 02:58 UTC (History)
1 user (show)

See Also:
makc: maintainer-feedback+


Attachments
Patch (303 bytes, patch)
2015-07-04 17:53 UTC, Greg Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Lewis freebsd_committer freebsd_triage 2015-07-04 17:53:53 UTC
Created attachment 158341 [details]
Patch

Interfaces like MultiMap in version 3.2.1 of this port define a remove() operation which takes two arguments and clashes with the new remove() operation defined in Map for Java 8.  So compilation building should be restricted to Java 6 and 7.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2015-07-04 17:54:41 UTC
See http://package18.nyi.freebsd.org/data/101amd64-default-PR199591/2015-04-22_19h31m00s/logs/errors/jakarta-commons-collections-3.2.1.log for an example of the errors when compiling with Java 8.
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2015-07-16 15:54:23 UTC
I think you could simply commit this with portmgr blanket approval. Now you have my approval as well.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-07-17 02:35:54 UTC
A commit references this bug:

Author: glewis
Date: Fri Jul 17 02:35:03 UTC 2015
New revision: 392329
URL: https://svnweb.freebsd.org/changeset/ports/392329

Log:
  . Interfaces like MultiMap in version 3.2.1 of Jakarta Commons Collections
    define a remove() operation which takes two arguments and clashes with
    the new remove() operation defined in Map for Java 8.  Hence, restrict
    to Java 6 and 7.

  PR:		201335

Changes:
  head/java/jakarta-commons-collections/Makefile
Comment 4 Greg Lewis freebsd_committer freebsd_triage 2015-07-17 02:58:39 UTC
Patch committed