Bug#745097: mkgmap: FTBFS with Java 8: name clash: remove(K, V) in MultiHashMap and remove(Object, Object) in HashMap have the same erasure

Emmanuel Bourg ebourg at apache.org
Thu Apr 17 22:19:04 UTC 2014


Source: mkgmap
Version: 0.0.0+svn2981-1
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

Hi,

During a rebuild of all Java packages in sid with OpenJDK 8,
your package failed to build with the following error:

  compile:
      [javac] Compiling 477 source files to /«BUILDDIR»/mkgmap-0.0.0+svn2981/build/classes
      [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
      [javac] /«BUILDDIR»/mkgmap-0.0.0+svn2981/src/uk/me/parabola/util/MultiHashMap.java:57: error: name clash: remove(K,V) in MultiHashMap and remove(Object,Object) in HashMap have the same erasure, yet neither overrides the other
      [javac] 	public V remove(K key, V value )
      [javac] 	         ^
      [javac]   where K,V are type-variables:
      [javac]     K extends Object declared in class MultiHashMap
      [javac]     V extends Object declared in class MultiHashMap
      [javac] /«BUILDDIR»/mkgmap-0.0.0+svn2981/src/uk/me/parabola/util/MultiIdentityHashMap.java:57: error: name clash: remove(K,V) in MultiIdentityHashMap and remove(Object,Object) in Map have the same erasure, yet neither overrides the other
      [javac] 	public V remove(K key, V value )
      [javac] 	         ^
      [javac]   where K,V are type-variables:
      [javac]     K extends Object declared in class MultiIdentityHashMap
      [javac]     V extends Object declared in class MultiIdentityHashMap
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 errors
      [javac] 1 warning


The full build log is available from:
    http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/mkgmap_0.0.0+svn2981-1_unstable_jdk8.log

You can download OpenJDK 8 packages for testing here:
    http://87.98.165.193/debian/openjdk-8u5-b13/



More information about the Pkg-grass-devel mailing list