Bug 1099873 - FTFBS with openjdk-1.8 (which is default now)
Summary: FTFBS with openjdk-1.8 (which is default now)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ice
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1106787 (view as bug list)
Depends On:
Blocks: 925571 F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-05-21 11:49 UTC by Marcin Juszkiewicz
Modified: 2014-09-19 08:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-19 08:45:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.