Bug#874658: FTBFS with Java 9: no suitable constructor for JTable
Chris West
solo-debianbugs at goeswhere.com
Fri Sep 8 13:53:36 UTC 2017
Source: libswingx-java
Version: 1:1.6.2-2
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
This might be generics changes (due to the new -source), or Swing changes.
Build log:
ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /build/libswingx-java-1.6.2/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java:[564,9] no suitable constructor found for JTable(java.util.Vector<capture#1 of ?>,java.util.Vector<capture#2 of ?>)
constructor javax.swing.JTable.JTable(javax.swing.table.TableModel,javax.swing.table.TableColumnModel) is not applicable
(argument mismatch; java.util.Vector<capture#1 of ?> cannot be converted to javax.swing.table.TableModel)
constructor javax.swing.JTable.JTable(int,int) is not applicable
(argument mismatch; java.util.Vector<capture#1 of ?> cannot be converted to int)
constructor javax.swing.JTable.JTable(java.util.Vector<? extends java.util.Vector>,java.util.Vector<?>) is not applicable
(argument mismatch; java.util.Vector<capture#1 of ?> cannot be converted to java.util.Vector<? extends java.util.Vector>)
constructor javax.swing.JTable.JTable(java.lang.Object[][],java.lang.Object[]) is not applicable
(argument mismatch; java.util.Vector<capture#1 of ?> cannot be converted to java.lang.Object[][])
[INFO] 1 error
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list