Bug 1099873

Summary: FTFBS with openjdk-1.8 (which is default now)
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: iceAssignee: Haïkel Guémar <karlthered>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, karlthered, mefoster
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-19 08:45:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 925571, 1105908    

Description Marcin Juszkiewicz 2014-05-21 11:49:02 UTC
Description of problem:

ice 3.5.1 fails to build in rawhide since openjdk 1.8 became default.

Version-Release number of selected component (if applicable):

3.5.1

How reproducible:

always

Steps to Reproduce:
1. build package

Actual results:

ice-compile:
Created dir: /builddir/build/BUILD/Ice-3.5.1/java/depcache
Compiling 627 source files to /builddir/build/BUILD/Ice-3.5.1/java/lib
/builddir/build/BUILD/Ice-3.5.1/java/generated/Ice/Communicator.java:355: warning: [deprecation] Stats in Ice has been deprecated
    Stats getStats();
    ^
/builddir/build/BUILD/Ice-3.5.1/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
/builddir/build/BUILD/Ice-3.5.1/java/generated/Ice/StatsHolder.java:31: warning: [deprecation] Stats in Ice has been deprecated
    StatsHolder(Stats value)
                ^
/builddir/build/BUILD/Ice-3.5.1/java/generated/Ice/StatsHolder.java:36: warning: [deprecation] Stats in Ice has been deprecated
    public Stats value;
           ^
/builddir/build/BUILD/Ice-3.5.1/java/generated/Ice/_CommunicatorOperationsNC.java:355: warning: [deprecation] Stats in Ice has been deprecated
    Stats getStats();
    ^
1 error
4 warnings
BUILD FAILED
/builddir/build/BUILD/Ice-3.5.1/java/build.xml:206: Compile failed; see the compiler error output for details.
Total time: 4 seconds
make[1]: *** [all] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/Ice-3.5.1/java'
make: *** [all] Error 1


Expected results:

package builds

Additional info:

Current rawhide package was built with openjdk 1.7

Comment 1 Marcin Juszkiewicz 2014-09-19 08:42:06 UTC
*** Bug 1106787 has been marked as a duplicate of this bug. ***

Comment 2 Marcin Juszkiewicz 2014-09-19 08:45:25 UTC
fixed in ice-3.5.1-8