[Debian-med-packaging] Bug#872945: FTBFS with openjdk-9-jdk

solo-debianbugs at goeswhere.com solo-debianbugs at goeswhere.com
Tue Aug 22 19:35:25 UTC 2017


Source: dicomscope
Priority: normal

This package fails to build against openjdk-9, for which there should
soon be a transition.

The changes look like they should be easy to fix:

error: [options] source value 1.5 is obsolete and will be removed in a future release
error: [options] target value 1.5 is obsolete and will be removed in a future release

These are literally true; -source/-target 1.6 or higher must be passed.

And:

./processCommunication/ProcessTable.java:216: error: incompatible types: Object cannot be converted to Vector
            dataVector.setElementAt(dummy, row2);
                                    ^
./viewer/sr/VerificationDialog.java:294: error: incompatible types: Object cannot be converted to Vector
            dataVector.setElementAt(dummy, row2);
                                    ^

These are normally caused by swing having gained generics for
methods that previously accepted raw types, and can be fixed by
adding wildcards (in a way that doesn't break compilation on
Java 8).


Cheers,
Chris.



More information about the Debian-med-packaging mailing list