Skip to content

Commit 75e734c

Browse files
Run tests on Java 11 and 17
1 parent eb97ede commit 75e734c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
jdk: ['8']
19+
jdk: ['8', '11', '17']
2020
os: [ubuntu-latest, windows-latest]
2121

2222
steps:

fop-core/src/tools/resources/findbugs/exclusions.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,15 @@
413413
<Class name="org.apache.fop.servlet.FopServlet"/>
414414
</And>
415415
</Match>
416+
<Match>
417+
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
418+
<Or>
419+
<Class name="org.apache.fop.layoutmgr.inline.LineLayoutManager$Paragraph"/>
420+
<Class name="org.apache.fop.layoutmgr.InlineKnuthSequence"/>
421+
<Class name="org.apache.fop.layoutmgr.BlockKnuthSequence"/>
422+
<Class name="org.apache.fop.layoutmgr.AbstractBreaker$BlockSequence"/>
423+
</Or>
424+
</Match>
416425

417426
<Match>
418427
<Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<commons.logging.version>1.0.4</commons.logging.version>
2121
<compiler.plugin.version>3.11.0</compiler.plugin.version>
2222
<exec.plugin.version>1.4.0</exec.plugin.version>
23-
<findbugs.plugin.version>3.1.12.2</findbugs.plugin.version>
23+
<findbugs.plugin.version>4.2.3</findbugs.plugin.version>
2424
<jar.plugin.version>3.1.1</jar.plugin.version>
2525
<java.version>8</java.version>
2626
<junit.version>4.11</junit.version>

0 commit comments

Comments
 (0)