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

Changes:

[PJ Fanning] [bug-65849] use Files.createTempFile

[PJ Fanning] increase precion in test

[PJ Fanning] [bug-65849] file attributes may cause issues on windows

[PJ Fanning] [bug-65849] use Files.createTempFile

[PJ Fanning] update changes

[PJ Fanning] add classes to suit Sayi/poi-tl

[PJ Fanning] add xsbs to suit Sayi

[PJ Fanning] update test deps


------------------------------------------
[...truncated 65.73 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658:
 warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun 
has been deprecated
            assertEquals(10, run.getFontSize());
                                ^

> Task :poi-excelant:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/
1 warning

> Task :poi-scratchpad:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/

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

> Task :poi-examples:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/

> Task :poi-excelant:forbiddenApisMain

> Task :poi-ooxml:compileTestJava
14 warnings

> Task :poi-ooxml:testClasses

> Task :poi-scratchpad:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:211:
 warning: no description for @param
     * @param ctx
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:212:
 warning: no description for @param
     * @param graphicsBounds
       ^

> Task :poi-ooxml:testJar

> Task :poi:spotbugsTest
106 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi-excelant:compileTestJava
> Task :poi-excelant:testClasses

> Task :poi-examples:javadoc
1 warning

> Task :poi-integration:compileTestJava
> Task :poi-integration:compileTest9 SKIPPED
> Task :poi-integration:cacheTest9 NO-SOURCE
> Task :poi-integration:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-integration:testJar
> Task :poi-examples:javadocJar
> Task :poi-examples:assemble
> Task :poi-excelant:compileTest9 SKIPPED
> Task :poi-excelant:cacheTest9 NO-SOURCE
> Task :poi-excelant:testJar

> Task :poi-excelant:spotbugsMain
5 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-excelant/build/reports/spotbugs/main.xml>

> Task :poi-examples:forbiddenApisMain
Forbidden method invocation: 
java.nio.file.Files#createTempFile(java.lang.String,java.lang.String,java.nio.file.attribute.FileAttribute[])
 [Specify a location for the temp file/directory instead.]
  in org.apache.poi.examples.xssf.usermodel.BigGridDemo (BigGridDemo.java:105)
Scanned 159 class file(s) for forbidden API invocations (in 1.75s), 1 error(s).

> Task :poi-examples:forbiddenApisMain FAILED

> Task :poi-scratchpad:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/Bitmap.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/DIB.java>:46:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/EMF.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/JPEG.java>:43:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PICT.java>:55:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PNG.java>:39:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/WMF.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:84:
 warning: no description for @param
     * @param inputStream
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:85:
 warning: no description for @throws
     * @throws IOException
       ^

> Task :poi:spotbugsMain
440 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/main.xml>

> Task :poi-excelant:spotbugsTest

> Task :poi-scratchpad:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hmef/HMEFMessage.java>:53:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:119:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:261:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:191:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:169:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:180:
 warning: no description for @throws
     * @throws IOException
       ^

> Task :poi-ooxml:test
> Task :allJavaDoc
> Task :poi-integration:test
> Task :poi-excelant:test

> Task :poi-scratchpad:javadoc
18 warnings

> Task :allJavaDoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:211:
 warning: no description for @param
     * @param ctx
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:212:
 warning: no description for @param
     * @param graphicsBounds
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:318:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:319:
 warning: no description for @throws
     * @throws InvalidFormatException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:294:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:262:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:353:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:340:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java>:131:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hmef/HMEFMessage.java>:53:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java>:29:
 warning: empty <p> tag
 * Implementation for Excel NORMDIST() and NORM.DIST() functions.<p>
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormInv.java>:29:
 warning: empty <p> tag
 * Implementation for Excel NORMINV() and NORM.INV() functions.<p>
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java>:28:
 warning: empty <p> tag
 * Implementation for Excel NORMSDIST() and NORM.S.DIST functions.<p>
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSInv.java>:28:
 warning: empty <p> tag
 * Implementation for Excel NORMSINV() and NORM.S.INV() functions.<p>
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java>:122:
 warning: no description for @param
     * @param useReadOnlySharedStringsTable
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/Bitmap.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/DIB.java>:46:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/EMF.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/JPEG.java>:43:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PICT.java>:55:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PNG.java>:39:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/WMF.java>:49:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/PackageHelper.java>:51:
 warning: no description for @param
     * @param stream
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/ooxml/util/PackageHelper.java>:55:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:84:
 warning: no description for @param
     * @param inputStream
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:85:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java>:150:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java>:136:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java>:201:
 warning - Tag @see: missing '#': "POIFSFileSystem(FileChannel, boolean, 
boolean) this constructor gives more control over whether to
 close the provided channel"
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java>:221:
 warning - Tag @see: missing '#': "POIFSFileSystem(FileChannel, boolean, 
boolean) this constructor gives more control over whether to
 close the provided channel"
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:119:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:261:
 warning - Tag @link: can't find addPicture(byte[], PictureType) in 
org.apache.poi.hslf.usermodel.HSLFSlideShow
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:191:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:169:
 warning: no description for @throws
     * @throws IOException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:180:
 warning: no description for @throws
     * @throws IOException
       ^
35 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-examples:forbiddenApisMain'.
> de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API 
> calls failed, see log.

* 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.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 15m 40s
83 actionable tasks: 81 executed, 2 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to