[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Source: zeroc-ice
Version: 3.5.1-5.2
Severity: important
User: debian-java@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:


  /«PKGBUILDDIR»/java/src/IceInternal/OutgoingConnectionFactory.java:32: error: name clash: remove(K,V) in MultiHashMap and remove(Object,Object) in HashMap have the same erasure, yet neither overrides the other
          remove(K key, V value)
          ^
    where K,V are type-variables:
      K extends Object declared in class MultiHashMap
      V extends Object declared in class MultiHashMap
  /«PKGBUILDDIR»/java/generated/Ice/StatsHolder.java:31: warning: [deprecation] Stats in Ice has been deprecated
      StatsHolder(Stats value)
                  ^
  /«PKGBUILDDIR»/java/generated/Ice/StatsHolder.java:36: warning: [deprecation] Stats in Ice has been deprecated
      public Stats value;
             ^
  /«PKGBUILDDIR»/java/generated/Ice/_CommunicatorOperationsNC.java:355: warning: [deprecation] Stats in Ice has been deprecated
      Stats getStats();
      ^


The full build log is available from:
    http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/zeroc-ice_3.5.1-5.2_unstable_jdk8.log

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


Reply to: