[ 
https://issues.apache.org/jira/browse/DAFFODIL-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Thompson closed DAFFODIL-2898.
-----------------------------------

Verified the specified commit (commit 01dded5b5a562b4f35f1123eb8f757face424a31) 
is included in the latest pull from the daffodil repository.

Verified, via review, changes identified in the commit comment were 
implemented. 

Verified that all daffodil subproject sbt test suites executed successfully 
using Java 21.

Verified the nightly test suite executes successfully with no unexpected 
failures using Java 21.

> Compilation error with Java 21, add to CI
> -----------------------------------------
>
>                 Key: DAFFODIL-2898
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2898
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 3.7.0
>            Reporter: Peter Katlic
>            Assignee: Peter Katlic
>            Priority: Major
>             Fix For: 3.8.0
>
>
> Using JDK 21 there is are compilation errors in Misc.scala:
> {noformat}
> [error] 
> daffodil/daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/Misc.scala:550:15:
>  ambiguous reference to overloaded definition,
> [error] both method position in class CharBuffer of type (x$1: 
> Int)java.nio.CharBuffer
> [error] and  method position in class Buffer of type ()Int
> [error] match expected type ?
> [error]     assert(cb.position == 0)
> [error]               ^
> [error] 
> daffodil/daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/Misc.scala:551:15:
>  ambiguous reference to overloaded definition,
> [error] both method limit in class CharBuffer of type (x$1: 
> Int)java.nio.CharBuffer
> [error] and  method limit in class Buffer of type ()Int
> [error] match expected type ?
> [error]     assert(cb.limit == 256)
> [error]               ^
> [error] two errors found
> [error] (daffodil-lib / Compile / compileIncremental) Compilation 
> failed{noformat}
> Tasks:
>  * Add Java 21 to CI
>  * Fix compilation error



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to