See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/18/display/redirect?page=changes>
Changes:
[PJ Fanning] genericise cell copy logic
------------------------------------------
[...truncated 32.43 KB...]
import java.security.AccessController;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/POITestCase.java>:122:
warning: [removal] AccessController in java.security has been deprecated and
marked for removal
return AccessController.doPrivileged((PrivilegedExceptionAction<R>)
() -> {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:154:
warning: [removal] SecurityManager in java.lang has been deprecated and marked
for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:154:
warning: [removal] getSecurityManager() in System has been deprecated and
marked for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:156:
warning: [removal] SecurityManager in java.lang has been deprecated and marked
for removal
System.setSecurityManager(new SecurityManager() {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:156:
warning: [removal] setSecurityManager(SecurityManager) in System has been
deprecated and marked for removal
System.setSecurityManager(new SecurityManager() {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:170:
warning: [removal] setSecurityManager(SecurityManager) in System has been
deprecated and marked for removal
System.setSecurityManager(sm);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:277:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
scell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:287:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
IllegalStateException e =
assertThrows(IllegalStateException.class, () ->
mcell.setCellType(CellType.NUMERIC));
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java>:212:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:89:
warning: [deprecation] getCode() in CellType has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:89:
warning: [deprecation] getCachedResultType() in FormulaRecord has been
deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:312:
warning: [removal] SecurityManager in java.lang has been deprecated and marked
for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:312:
warning: [removal] getSecurityManager() in System has been deprecated and
marked for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:313:
warning: [removal] setSecurityManager(SecurityManager) in System has been
deprecated and marked for removal
System.setSecurityManager(new NoExitSecurityManager());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:319:
warning: [removal] setSecurityManager(SecurityManager) in System has been
deprecated and marked for removal
System.setSecurityManager(sm);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:363:
warning: [removal] SecurityManager in java.lang has been deprecated and marked
for removal
private static class NoExitSecurityManager extends SecurityManager {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.ERROR);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
27 warnings
> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9
> Task :poi-ooxml-lite-agent:cacheJava9
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1,
hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1,
hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("First header column!\tMid header Right header!\n",
extractor1.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("This is a simple header, with a \u20ac euro symbol in
it.\n\n", extractor2.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("Footer Left\tFooter Middle Footer Right\n",
extractor1.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n",
extractor2.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
assertNotNull(extractor.getParagraphText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47:
warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
_fontTable.writeTo(fileSys);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50:
warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been
deprecated
sectionTable.writeTo(fileSys, 0);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53:
warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in
CHPBinTable has been deprecated
_cHPBinTable.writeTo(fileSys, 0, fakeTPT);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(expectedStyleLvl,
styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:497:
warning: [deprecation] getCodepoints(String,Boolean,Boolean) in
SlideShowExtractor has been deprecated
BitSet l1 = ppt.getCodepoints(font, null, null);
^
15 warnings
> Task :poi-scratchpad:compileTest9
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar
> 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/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129:
warning: [deprecation] getSeries() in XDDFChartData has been deprecated
assertThrows(UnsupportedOperationException.class, () ->
chartData.getSeries().remove(0));
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:872:
warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
assertEquals("CN=Muj Klic",
result.get(0).getSubjectDN().toString());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:873:
warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
assertEquals("CN=My Second key",
result.get(1).getSubjectDN().toString());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:876:
warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
assertEquals("CN=My Second key",
result.get(0).getSubjectDN().toString());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:915:
warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
assertEquals("CN=Test", certs.get(0).getSubjectDN().getName());
^
<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());
^
16 warnings
> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:processTestResources
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-integration:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-integration/src/test/java/org/apache/poi/stress/FileHandlerKnown.java>:48:
warning: [deprecation] newInstance() in Class has been deprecated
return (FileHandler)Class.forName("org.apache.poi.stress." + n +
"FileHandler").newInstance();
^
where T is a type-variable:
T extends Object declared in class Class
1 warning
> Task :poi-integration:compileTest9
> Task :poi-integration:cacheTest9
> Task :poi-integration:processTestResources
> Task :poi-integration:testClasses
> Task :poi-integration:testJar
> Task :allJavaDoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:144:
error: unexpected content
* @see {@link CellUtil#copyCell(Cell, Cell, CellCopyPolicy,
CellCopyContext)}
^
1 error
> Task :allJavaDoc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':allJavaDoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for
> troubleshooting):
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/tmp/allJavaDoc/javadoc.options'>
* 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 3m 6s
62 actionable tasks: 62 executed
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
ERROR: Step ?Publish JUnit test result report? failed: No test report files
were found. Configuration error?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]