Bug#875790: FTBFS with Java 9: configure fails to detect Java
Emmanuel Bourg
ebourg at apache.org
Fri Mar 9 11:36:17 UTC 2018
The detection of the JDK has been fixed in scilab 6.0.1, but there are
some compilations issues left caused by Swing changes in Java 9:
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/BrowserView.java:260:
error: incompatible types: Enumeration<TreeNode> cannot be converted to
Enumeration<DefaultMutableTreeNode>
for (Enumeration<DefaultMutableTreeNode> e =
root.depthFirstEnumeration(); e.hasMoreElements();) {
^
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/SuperblockMaskCustomizeAction.java:758:
error: incompatible types: Vector<Vector> cannot be converted to
List<List<?>>
final List < List<? >> data = model.getDataVector();
^
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/Palette.java:61:
error: children() in Palette cannot implement children() in TreeNode
public Enumeration<Object> children() {
^
return type Enumeration<Object> is not compatible with Enumeration<?
extends TreeNode>
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/Palette.java:60:
error: method does not override or implement a method from a supertype
@Override
^
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PreLoaded.java:53:
error: PreLoaded is not abstract and does not override abstract method
children() in TreeNode
public class PreLoaded extends Palette {
^
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PreLoaded.java:59:
error: children() in Palette cannot implement children() in TreeNode
public static class Dynamic extends PreLoaded {
^
./scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/Custom.java:48:
error: Custom is not abstract and does not override abstract method
children() in TreeNode
public class Custom extends Palette {
^
More information about the debian-science-maintainers
mailing list