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

Changes:

[PJ Fanning] [bug-60541] fix issue with setColumnAttributes

[PJ Fanning] This closes #299

[PJ Fanning] sonar issues

[PJ Fanning] sonar issues

[PJ Fanning] BigDecimal.valueOf

[PJ Fanning] private constructors

[PJ Fanning] add R1C1 test

[PJ Fanning] add R1C1 test


------------------------------------------
[...truncated 57.62 KB...]
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0

> Task :poi-scratchpad:spotbugsMain
> Task :poi:spotbugsMain
> Task :poi:spotbugsTest

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:spotbugsTest

> Task :poi-scratchpad:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0

> Task :poi:test
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.apache.poi.poifs.dev.TestPOIFSDump 
(<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/classes/java/test/)>
WARNING: Please consider reporting this to the maintainers of 
org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0

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

> Task :poi-ooxml-full:compileJava9
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes

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

> Task :poi-ooxml-full:sourceJar
> Task :poi-scratchpad:jacocoTestReport
> Task :poi-scratchpad:check
> Task :poi-ooxml-full:jar
> Task :poi-ooxml-full:javadoc SKIPPED
> Task :poi-ooxml-full:javadocJar SKIPPED
> Task :poi-ooxml-full:sourcesJar
> Task :poi-ooxml-full:assemble
> Task :poi-ooxml-full:forbiddenApisMain UP-TO-DATE
> 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 UP-TO-DATE
> Task :poi-ooxml-full:spotbugsMain SKIPPED
> Task :poi-ooxml-full:spotbugsTest SKIPPED
> Task :poi-ooxml-full:test NO-SOURCE
> Task :poi-ooxml-full:check UP-TO-DATE
> Task :poi-ooxml-full:build
> Task :poi-ooxml-full:jacocoTestReport SKIPPED

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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:spotbugsTest
447 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:212:
 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>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:52:
 warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:57:
 warning: [deprecation] createWriter(File) in SheetDataWriter has been 
deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^

> Task :poi:jacocoTestReport

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESSignatureFacet.java>:323:
 warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated
            issuerName = certificate.getIssuerDN().getName().replace(",", ", ");
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:256:
 warning: [deprecation] getObject() in ASN1TaggedObject has been deprecated
                        ASN1OctetString keyHashOctetString = 
(ASN1OctetString)derTaggedObject.getObject();
                                                                                
             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:260:
 warning: [deprecation] getObject() in ASN1TaggedObject has been deprecated
                        X500Name name = 
X500Name.getInstance(derTaggedObject.getObject());
                                                                            ^
13 warnings

> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi-excelant:classes
> Task :poi-excelant:jar

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/helpers/TestColumnHelper.java>:28:
 error: package jdk.nashorn.internal.ir.annotations does not exist
import jdk.nashorn.internal.ir.annotations.Ignore;
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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.*;
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129:
 warning: [deprecation] getSeries() in XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> 
chartData.getSeries().remove(0));
                                                                         ^

> Task :poi-examples:compileJava
> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9
> Task :poi-examples:classes
> Task :poi-examples:jar

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(7, run.getFontSize());
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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, run.getFontSize());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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 + 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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, run.getFontSize());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java>:1336:
 warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been 
deprecated
                CTExternalLink link = 
workbook2.getExternalLinksTable().get(0).getCTExternalLink();
                                                                              ^

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

> Task :poi:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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;
                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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;
                    ^

> Task :poi-excelant:javadoc

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java>:692:
 warning: [unchecked] getPrefixes(String) in TestXSSFExportToXML.XPathNSContext 
implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>

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

> Task :poi-ooxml:compileTestJava FAILED
1 error
15 warnings

> Task :poi-examples:javadoc

> 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.17/ws/poi-excelant/build/reports/spotbugs/main.xml>

> Task :poi-scratchpad:javadoc

> Task :poi:javadoc
2 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileTestJava'.
> 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

BUILD FAILED in 6m 27s
90 actionable tasks: 88 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
[Fast Archiver] Compressed 37.53 MB of artifacts by 12.2% relative to #187
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