Bug#905145: jakarta-jmeter: FTBFS with Java 9 due to Swing changes
Emmanuel Bourg
ebourg at apache.org
Tue Jul 31 19:25:47 BST 2018
Source: jakarta-jmeter
Version: 2.13-3
Severity: serious
User: debian-java at lists.debian.org
Usertags: default-java9
jakarta-jmeter fails to build with Java 9 due to the generification
of the javax.swing.JTable constructors:
compile-jorphan:
[mkdir] Created dir: /build/1st/jakarta-jmeter-2.13/build/jorphan
[javac] Using javac -source 1.6 is no longer supported, switching to 7
[javac] Using javac -target 1.6 is no longer supported, switching to 7
[javac] Compiling 55 source files to /build/1st/jakarta-jmeter-2.13/build/jorphan
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] /build/1st/jakarta-jmeter-2.13/src/jorphan/org/apache/jorphan/gui/JTreeTable.java:64: error: no suitable constructor found for JTable(Vector<CAP#1>,Vector<CAP#2>)
[javac] super(rowData, columnNames);
[javac] ^
[javac] constructor JTable.JTable(TableModel,TableColumnModel) is not applicable
[javac] (argument mismatch; Vector<CAP#1> cannot be converted to TableModel)
[javac] constructor JTable.JTable(int,int) is not applicable
[javac] (argument mismatch; Vector<CAP#1> cannot be converted to int)
[javac] constructor JTable.JTable(Vector<? extends Vector>,Vector<?>) is not applicable
[javac] (argument mismatch; Vector<CAP#1> cannot be converted to Vector<? extends Vector>)
[javac] constructor JTable.JTable(Object[][],Object[]) is not applicable
[javac] (argument mismatch; Vector<CAP#1> cannot be converted to Object[][])
[javac] where CAP#1,CAP#2 are fresh type-variables:
[javac] CAP#1 extends Object from capture of ?
[javac] CAP#2 extends Object from capture of ?
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /build/1st/jakarta-jmeter-2.13/src/jorphan/org/apache/jorphan/gui/JLabeledChoice.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[javac] 1 error
[javac] 1 warning
More information about the pkg-java-maintainers
mailing list