[mkgmap-dev] r4793 fails to build (error: reference to forEach is ambiguous)
From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jul 1 08:02:05 BST 2021
Hi Bas, thanks, I've changed a few things according to the log. I don't see these messages when I compile with OpenJDK 11, but my version is quite old: openjdk version "11.0.1" 2018-10-16 I still have to find out how to replace the newInstance() calls. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic at xs4all.nl> Gesendet: Donnerstag, 1. Juli 2021 07:17 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: [mkgmap-dev] r4793 fails to build (error: reference to forEach is ambiguous) The Debian package build for SVN r4793 fails to build: [javac] /build/mkgmap-0.0.0+svn4793/src/uk/me/parabola/mkgmap/filters/ShapeMergeFilter.java:230: error: reference to forEach is ambiguous [javac] byCenter.forEach(i -> centers.put(i, Area.getBBox(similarShapes.get(i).points).getCenter())); [javac] ^ [javac] both method forEach(IntConsumer) in IntIterable and method forEach(Consumer<? super Integer>) in IntIterable match The full buildlog is attached. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
- Previous message: [mkgmap-dev] r4793 fails to build (error: reference to forEach is ambiguous)
- Next message: [mkgmap-dev] Commit r4798: - add Xlint to all compile targets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list