See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/339/display/redirect?page=changes>

Changes:

[PJ Fanning] [bug-66278] Bug with multiple gradient stops at the exact same 
location causing a rendering failure (AWT -> not enough colors in gradient). 
Thanks to Gareth Floodgate. This closes #385

[PJ Fanning] update xsbs


------------------------------------------
[...truncated 293.10 KB...]
> Task :poi-ooxml-full:forbiddenApisMain

> Task :poi-scratchpad:spotbugsTest
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.util.TestSystemTimeUtils.initDateFormat()  At 
TestSystemTimeUtils.java:[line 54]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateA()  At 
TestSystemTimeUtils.java:[line 62]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateB()  At 
TestSystemTimeUtils.java:[line 72]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateA()  At 
TestSystemTimeUtils.java:[line 80]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateB()  At 
TestSystemTimeUtils.java:[line 95]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.record.TestComment2000.initDateFormat()  At 
TestComment2000.java:[line 98]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.record.TestComment2000.testCommentAtom()  At 
TestComment2000.java:[line 128]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.record.TestComment2000.testCommentAtomB()  At 
TestComment2000.java:[line 140]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hslf.record.TestComment2000.testChange()  At 
TestComment2000.java:[line 176]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hsmf.TestFixedSizedProperties.initMapi()  At 
TestFixedSizedProperties.java:[line 78]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.hsmf.TestFixedSizedProperties.testClientSubmitTime()  At 
TestFixedSizedProperties.java:[line 192]
M D SF: Switch statement found in 
org.apache.poi.hslf.model.TestShapes.textBoxRead() where default case is 
missing  At TestShapes.java:[lines 122-143]
M D DLS: Dead store to p2r3 in 
org.apache.poi.hslf.model.TestShapes.testParagraphs()  At TestShapes.java:[line 
165]
M B RR: org.apache.poi.hwpf.HWPFDocFixture.setUp() ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[])  At 
HWPFDocFixture.java:[line 49]
M D DLS: Dead store to fcMin in 
org.apache.poi.hwpf.model.TestCHPBinTable.testReadWrite()  At 
TestCHPBinTable.java:[line 47]
M P Dm: org.apache.poi.hwpf.model.TestPlexOfCps.testWriteRead() uses the 
nextDouble method of Random to generate a random integer; using nextInt is more 
efficient  At TestPlexOfCps.java:[line 39]

> Task :poi-ooxml-full:compileTestJava NO-SOURCE
> Task :poi-ooxml-full:processTestResources NO-SOURCE
> Task :poi-ooxml-full:testClasses UP-TO-DATE
> Task :poi-ooxml-full:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-full:forbiddenApis
> Task :poi-ooxml-full:spotbugsMain SKIPPED
> Task :poi-ooxml-full:spotbugsTest SKIPPED
> Task :poi-ooxml-full:test NO-SOURCE
> Task :poi-ooxml-full:check
> Task :poi-ooxml-full:build
> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\model\ExternalLinksTable.java:100:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public CTExternalLink getCTExternalLink(){
                          ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:170:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:214:
 warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:285:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:340:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:345:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFFormulaEvaluator.java:137:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^

> Task :poi-scratchpad:spotbugsTest
M D SF: Switch statement found in 
org.apache.poi.hslf.model.TestSlideMaster.testTitleMaster() where default case 
is missing  At TestSlideMaster.java:[lines 156-167]
M D DLS: Dead store to s7rtr0 in 
org.apache.poi.hslf.usermodel.TestRichTextRun.testParagraphStylesShorterTheCharStylesWrite()
  At TestRichTextRun.java:[line 330]
M D DLS: Dead store to mainOut in 
org.apache.poi.hwpf.model.TestStyleSheet.testReadWrite()  At 
TestStyleSheet.java:[line 42]
M D DLS: Dead store to mainStream in 
org.apache.poi.hwpf.model.TestStyleSheet.setUp()  At TestStyleSheet.java:[line 
73]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextBytesAtom.alt_text; 
should this field be static?  At TestTextBytesAtom.java:[line 41]
M P UrF: Unread field: org.apache.poi.hslf.usermodel.TestRecordSetup.ss  At 
TestRecordSetup.java:[line 42]
M P SS: Unread field: 
org.apache.poi.hdgf.streams.TestStreamComplex.trailerPointerAt; should this 
field be static?  At TestStreamComplex.java:[line 41]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.alt_text; 
should this field be static?  At TestTextCharsAtom.java:[line 37]
M P SS: Unread field: 
org.apache.poi.hdgf.streams.TestStreamComplex.trailerDataAt; should this field 
be static?  At TestStreamComplex.java:[line 42]
M P SS: Unread field: 
org.apache.poi.hdgf.extractor.TestVisioExtractor.defTextChunks; should this 
field be static?  At TestVisioExtractor.java:[line 37]
M P SS: Unread field: 
org.apache.poi.hdgf.extractor.TestVisioExtractor.defFilename; should this field 
be static?  At TestVisioExtractor.java:[line 36]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.data_text; 
should this field be static?  At TestTextCharsAtom.java:[line 34]
M P SS: Unread field: 
org.apache.poi.hslf.record.TestStyleTextPropAtom.data_c_text_len; should this 
field be static?  At TestStyleTextPropAtom.java:[line 134]
M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerComp should be package 
protected  At TestHDGFLZW.java:[line 29]
M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerDecomp should be package 
protected  At TestHDGFLZW.java:[line 79]
SpotBugs ended with exit code 1

> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\SignaturePart.java:211:
 warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext 
implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\services\RelationshipTransformService.java:102:
 warning: [deprecation] Provider(String,double,String) in Provider has been 
deprecated
            super(NAME, 1d, NAME);
            ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:98:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public File createTempFile() throws IOException {
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:110:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^

> Task :poi:getDeps

> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:53:
 warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:58:
 warning: [deprecation] createWriter(File) in SheetDataWriter has been 
deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^

> Task :poi-scratchpad:check

> Task :poi-ooxml:compileJava
13 warnings

> Task :poi-ooxml-full:getDeps
> Task :poi-scratchpad:jacocoTestReport
> Task :poi:jacocoTestReport
> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9 UP-TO-DATE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9 UP-TO-DATE
> Task :poi-excelant:classes
> Task :poi-excelant:jar

> Task :poi:javadoc
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\hssf\model\InternalWorkbook.java:22:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
import java.security.AccessControlException;
                    ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:28:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
import java.security.AccessController;
                    ^
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the 
command-line options to suppress this warning.

> Task :poi-excelant:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the 
command-line options to suppress this warning.
1 warning

> Task :poi-scratchpad:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the 
command-line options to suppress this warning.

> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain

> Task :poi-excelant:spotbugsMain
M V EI2: 
org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil) 
may expose internal representation by storing an externally mutable object into 
ExcelAntSet.wbUtil  At ExcelAntSet.java:[line 39]
M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may 
expose internal representation by returning ExcelAntWorkbookUtil.workbook  At 
ExcelAntWorkbookUtil.java:[line 193]
M V EI2: 
org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil) 
may expose internal representation by storing an externally mutable object into 
ExcelAntTest.workbookUtil  At ExcelAntTest.java:[line 67]
M D DCN: Do not catch NullPointerException like in 
org.apache.poi.ss.excelant.ExcelAntTest.execute()  At ExcelAntTest.java:[line 
180]
M V EI2: 
org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may 
expose internal representation by storing an externally mutable object into 
ExcelAntTask.precision  At ExcelAntTask.java:[line 55]
SpotBugs ended with exit code 1

> Task :poi-ooxml:compileTestJava
> Task :poi-examples:compileJava
> Task :allJavaDoc
> Task :poi-excelant:getDeps

> Task :poi-scratchpad:javadoc
1 warning

> Task :poi:javadoc
3 warnings

> Task :poi-scratchpad:javadocJar
> Task :poi-scratchpad:assemble
> Task :poi-scratchpad:build
> Task :poi-ooxml-full:jacocoTestReport SKIPPED

> Task :poi-ooxml-lite:compileJava9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
 error: <identifier> expected
    exports <<<<<<< .mine;
           ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
 error: package is empty or does not exist: <error>
    exports <<<<<<< .mine;
            ^
2 errors

> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFFont.java:20:
 warning: [deprecation] FontCharset in org.apache.poi.ss.usermodel has been 
deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
                                         ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xddf\usermodel\chart\TestXDDFChartRemoveSeries.java:126:
 warning: [deprecation] getSeries() in XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> 
chartData.getSeries().remove(0));
                                                                         ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\extractor\TestXSSFExportToXML.java:692:
 warning: [unchecked] getPrefixes(String) in XPathNSContext implements 
getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:288:
 warning: [deprecation] createSplitPane(int,int,int,int,int) in XSSFSheet has 
been deprecated
            sheet.createSplitPane(4, 8, 12, 12, 
PaneInformation.PANE_LOWER_RIGHT + 1);
                 ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1362:
 warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been 
deprecated
                CTExternalLink link = 
workbook2.getExternalLinksTable().get(0).getCTExternalLink();
                                                                              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:204:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(7, run.getFontSize());
                           ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:212:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:592:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:595:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:598:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:601:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:604:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:607:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:610:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:613:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:661:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
16 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml-lite:compileJava9'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 12m 59s
100 actionable tasks: 93 executed, 7 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to