[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

TableHeaderScopeTestCase.java:[115,50] error: no interface expected here



Hi there,

I tried update fop to version 2.4 (this required updating batik). I
did not realize that it did not build under sid (2.4 builds fine on
buster). Could someone comment on the compilation error, so that I can
forward something meaningful upstream:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project fop-core: Compilation failure:
Compilation failure:
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[115,50]
error: no interface expected here
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java:[146,57]
error: no interface expected here
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[112,15]
error: no suitable method found for argThat(IsScopeAttribute)
[ERROR]     method Matchers.<T#1>argThat(ArgumentMatcher<T#1>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#1
[ERROR]         (argument mismatch; IsScopeAttribute cannot be
converted to ArgumentMatcher<T#1>))
[ERROR]     method Matchers.<T#2>argThat(Matcher<T#2>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#2
[ERROR]         (argument mismatch; IsScopeAttribute cannot be
converted to Matcher<T#2>))
[ERROR]   where T#1,T#2 are type-variables:
[ERROR]     T#1 extends Object declared in method
<T#1>argThat(ArgumentMatcher<T#1>)
[ERROR]     T#2 extends Object declared in method <T#2>argThat(Matcher<T#2>)
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[123,8]
error: method does not override or implement a method from a supertype
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java:[155,19]
error: no suitable method found for argThat(AttributesMatcher)
[ERROR]     method Matchers.<T#1>argThat(ArgumentMatcher<T#1>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#1
[ERROR]         (argument mismatch; AttributesMatcher cannot be
converted to ArgumentMatcher<T#1>))
[ERROR]     method Matchers.<T#2>argThat(Matcher<T#2>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#2
[ERROR]         (argument mismatch; AttributesMatcher cannot be
converted to Matcher<T#2>))
[ERROR]   where T#1,T#2 are type-variables:
[ERROR]     T#1 extends Object declared in method
<T#1>argThat(ArgumentMatcher<T#1>)
[ERROR]     T#2 extends Object declared in method <T#2>argThat(Matcher<T#2>)
[ERROR] -> [Help 1]


ref:

https://buildd.debian.org/status/fetch.php?pkg=fop&arch=all&ver=1%3A2.4-1&stamp=1581891917&raw=0


Thanks for help,


Reply to: