Summary: | dev-java/commons-collections-3.2.1-r3::gentoo failed (compile phase) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volkmar W. Pogatzki <gentoo> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/20474 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 784131 | ||
Attachments: | build log |
Description
Volkmar W. Pogatzki
2021-04-05 05:39:54 UTC
[javac] /var/tmp/portage/dev-java/commons-collections-3.2.1-r3/work/commons-collections-3.2.1-src/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java:1119: error: reference to toArray is ambiguous [javac] array = collection.toArray(null); [javac] ^ [javac] both method <T#1>toArray(T#1[]) in Collection and method <T#2>toArray(IntFunction<T#2[]>) in Collection match [javac] where T#1,T#2 are type-variables: [javac] T#1 extends Object declared in method <T#1>toArray(T#1[]) [javac] T#2 extends Object declared in method <T#2>toArray(IntFunction<T#2[]>) [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90a6173247f06514731825677f3fc67c62bdc52 commit e90a6173247f06514731825677f3fc67c62bdc52 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-04-21 09:31:11 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-04-21 09:33:09 +0000 dev-java/commons-collections: bump to 3.2.2 Bug: https://bugs.gentoo.org/739348 Closes: https://bugs.gentoo.org/784131 Closes: https://bugs.gentoo.org/780153 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/commons-collections/Manifest | 1 + .../commons-collections-3.2.2.ebuild | 67 +++++++ .../files/commons-collections-3.2.2-fixes.patch | 201 +++++++++++++++++++++ 3 files changed, 269 insertions(+) |