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

Changes:

[PJ Fanning] [github-341] Remove unused imports. Thanks to XenoAmess. This 
closes #341

[PJ Fanning] [github-355] Tidy up some boxed variables. Thanks to XenoAmess. 
This closes #355

[PJ Fanning] [github-350] simplify cloneCellProperties. Thanks to XenoAmess. 
This closes #350

[PJ Fanning] [github-349] tidy up some test assertions. Thanks to XenoAmess. 
This closes #349

[PJ Fanning] [github-361] reuse regex pattern instances. Thanks to XenoAmess. 
This closes #361

[PJ Fanning] [github-340] make more use of StandardCharsets. Thanks to 
XenoAmess. This closes #340

[PJ Fanning] [github-358] improve locking in CellDateFormatter. Thanks to 
XenoAmess. This closes #358

[PJ Fanning] [github-359] fix case sensitivity issue in AutoNumberingScheme. 
Thanks to XenoAmess. This closes #359

[PJ Fanning] [github-351] make test loop more efficient

[PJ Fanning] [github-344] refactor equals method in XSSFHyperlinkRecord

[PJ Fanning] [github-357] fix equals check in CellNumberFormatter. Thanks to 
XenoAmess. This closes #357

[PJ Fanning] [github-347] make some inner classes static to save memory. Thanks 
to XenoAmess. This closes #347

[PJ Fanning] [github-343] use try-with-resources. Thanks to XenoAmess. This 
closes #343

[PJ Fanning] [github-360] HSSFExtendedColor does not set RGB colors properly. 
Thanks to XenoAmess. This closes #360


------------------------------------------
[...truncated 29.03 KB...]
> Task :poi-ooxml-full:copy_xsds

> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging 
implementation. Please add log4j-core to the classpath. Using SimpleLogger to 
log to the console...

> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain UP-TO-DATE
> Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE
> Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite-agent:forbiddenApis UP-TO-DATE
> Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED
> Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE
> Task :poi-ooxml-lite-agent:test NO-SOURCE
> Task :poi-ooxml-lite-agent:check UP-TO-DATE
> Task :poi-ooxml-lite-agent:build
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED
> Task :poi-ooxml:sourcesJar

> Task :poi-ooxml-full:generate_beans
Time to build schema type system: 5.832 seconds
Time to generate code: 8.222 seconds

> Task :poi:compileJava
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:183:
 error: reference to Record is ambiguous
[ant:xmlbean]     public static InternalWorkbook createWorkbook(List<Record> 
recs) {
[ant:xmlbean]                                                        ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1739:
 error: reference to Record is ambiguous
[ant:xmlbean]     public Record findFirstRecordBySid(short sid) {
[ant:xmlbean]            ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1772:
 error: reference to Record is ambiguous
[ant:xmlbean]     public Record findNextRecordBySid(short sid, int pos) {
[ant:xmlbean]            ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1787:
 error: reference to Record is ambiguous
[ant:xmlbean]     public List<Record> getRecords() {
[ant:xmlbean]                 ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:1247:
 error: reference to Record is ambiguous
[ant:xmlbean]     public Record findFirstRecordBySid(short sid) {
[ant:xmlbean]            ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:355:
 error: reference to Record is ambiguous
[ant:xmlbean]         private final List<Record> _destList;
[ant:xmlbean]                            ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:357:
 error: reference to Record is ambiguous
[ant:xmlbean]         public RecordCloner(List<Record> destList) {
[ant:xmlbean]                                  ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:361:
 error: reference to Record is ambiguous
[ant:xmlbean]         public void visitRecord(Record r) {
[ant:xmlbean]                                 ^
[ant:xmlbean]   both class org.apache.poi.hssf.record.Record in 
org.apache.poi.hssf.record and class java.lang.Record in java.lang match
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132:
 warning: [unchecked] unchecked cast
[ant:xmlbean]                 m.putAll((Map<String,Supplier<?>>)baseMap);
[ant:xmlbean]                                                   ^
[ant:xmlbean]   required: Map<String,Supplier<?>>
[ant:xmlbean]   found:    Object
[ant:xmlbean] 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
[ant:xmlbean]     public final void setCellType(CellType cellType) {
[ant:xmlbean]                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:186:
 error: reference to Record is ambiguous
        List<Record> records = new ArrayList<>(recs.size() / 3);
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:191:
 error: reference to Record is ambiguous
            Record rec = recs.get(k);
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:332:
 error: reference to Record is ambiguous
        List<Record> records = new ArrayList<>(30);
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:609:
 error: reference to Record is ambiguous
        Record removed = records.get(pos0 + sheetNumber);
        ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:787:
 error: reference to Record is ambiguous
        Record rec = records.get(records.getTabpos());
        ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:891:
 error: reference to Record is ambiguous
            Record r = records.get(i);
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:913:
 error: reference to Record is ambiguous
            Record r = records.get(i);
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:942:
 error: reference to Record is ambiguous
            Record r = records.get(i);
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1021:
 error: reference to Record is ambiguous
        for ( Record record : records.getRecords() ) {
              ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1067:
 error: reference to Record is ambiguous
        for ( Record record : records.getRecords() ) {
              ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1119:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
        } catch (AccessControlException e) {
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1740:
 error: reference to Record is ambiguous
        for (Record record : records.getRecords() ) {
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1755:
 error: reference to Record is ambiguous
        for (Record record : records.getRecords() ) {
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1774:
 error: reference to Record is ambiguous
        for (Record record : records.getRecords() ) {
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1811:
 error: reference to Record is ambiguous
            Record rec = records.get(palettePos);
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1838:
 error: reference to Record is ambiguous
        for(Record r : records.getRecords() ) {
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466:
 warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has 
been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62:
 warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has 
been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:151:
 error: reference to Record is ambiguous
                Record rec = rs.getNext();
                ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:236:
 error: reference to Record is ambiguous
            Record rec = rs.getNext();
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:376:
 error: reference to Record is ambiguous
        List<Record> clonedRecords = new ArrayList<>(_records.size());
             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:388:
 error: reference to Record is ambiguous
            Record rec = ((Record) rb).copy();
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:388:
 error: reference to Record is ambiguous
            Record rec = ((Record) rb).copy();
                           ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:567:
 error: reference to Record is ambiguous
            } else if (recordBase instanceof Record) {
                                             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:568:
 error: reference to Record is ambiguous
                ptv.visitRecord((Record) recordBase);
                                 ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:1252:
 error: reference to Record is ambiguous
        return (Record) _records.get(ix);
                ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:1283:
 error: reference to Record is ambiguous
            if (!(rb instanceof Record)) {
                                ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:1286:
 error: reference to Record is ambiguous
            Record record = (Record) rb;
            ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java>:1286:
 error: reference to Record is ambiguous
            Record record = (Record) rb;
                             ^
  both class org.apache.poi.hssf.record.Record in org.apache.poi.hssf.record 
and class java.lang.Record in java.lang match
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
        final Object hack = AccessController.doPrivileged(
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335:
 warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been 
deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
34 errors
9 warnings

> Task :poi:compileJava FAILED

> Task :poi-ooxml-lite:compileOoxmlLite
Execution optimizations have been disabled for task 
':poi-ooxml-lite:compileOoxmlLite' to ensure correctness due to the following 
reasons:
  - Gradle detected a problem with the following location: 
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml-full/build'.>
 Reason: Task ':poi-ooxml-lite:compileOoxmlLite' uses this output of task 
':poi-ooxml-full:compileJava' without declaring an explicit or implicit 
dependency. This can lead to incorrect results being produced, depending on 
what order the tasks are executed. Please refer to 
https://docs.gradle.org/7.4.2/userguide/validation_problems.html#implicit_dependency
 for more details about this problem.

> Task :poi-ooxml-full:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:compileJava'.
> 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.4.2/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 2m 20s
35 actionable tasks: 33 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'
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 2.91 MB of artifacts by 63.3% relative to #319
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to