You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2025/10/16 05:19:00 UTC
[jira] [Resolved] (KAFKA-17580) Java 21 spurious compilation failure in streams:compileTestJava
[ https://issues.apache.org/jira/browse/KAFKA-17580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax resolved KAFKA-17580.
-------------------------------------
Resolution: Cannot Reproduce
> Java 21 spurious compilation failure in streams:compileTestJava
> ---------------------------------------------------------------
>
> Key: KAFKA-17580
> URL: https://issues.apache.org/jira/browse/KAFKA-17580
> Project: Kafka
> Issue Type: Bug
> Components: build, streams
> Reporter: David Arthur
> Priority: Minor
> Attachments: logs_28557874014.zip
>
>
> On a trunk build with Java 21, we saw a very strange looking compilation error during the streams:compileTestJava task.
>
> {code:java}
> 2024-09-18T18:55:00.3977026Z Successfully started process 'command '/usr/lib/jvm/temurin-21-jdk-amd64/bin/java''
> 2024-09-18T18:55:07.4782946Z /home/runner/work/kafka/kafka/streams/src/test/java/org/apache/kafka/streams/integration/HighAvailabilityTaskAssignorIntegrationTest.java:319: error: incompatible types: inference variable K#1 has incompatible bounds
> 2024-09-18T18:55:07.4786040Z return mkObjectProperties(
> 2024-09-18T18:55:07.4786613Z ^
> 2024-09-18T18:55:07.4787738Z equality constraints: String,V#2,V#2,V#2,V#2,V#2,V#2,V#2,V#2,V#1,V#2,V#2,V#2,V#2,V#2,V#2,V#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2,K#2
> 2024-09-18T18:55:07.4789261Z lower bounds: AssignmentListener,Long,Integer,String
> 2024-09-18T18:55:07.4790348Z where K#1,V#1,V#2,K#2 are type-variables:
> 2024-09-18T18:55:07.4791245Z K#1 extends Object declared in method <K#1,V#1>mkMap(Entry<K#1,V#1>...)
> 2024-09-18T18:55:07.4792376Z V#1 extends Object declared in method <K#1,V#1>mkMap(Entry<K#1,V#1>...)
> 2024-09-18T18:55:07.4793418Z V#2 extends Object declared in method <K#2,V#2>mkEntry(K#2,V#2)
> 2024-09-18T18:55:07.4794430Z K#2 extends Object declared in method <K#2,V#2>mkEntry(K#2,V#2)
> 2024-09-18T18:55:07.4795064Z
> 2024-09-18T18:55:07.4795309Z > Task :connect:runtime:compileTestJava {code}
>
> CI Job: [https://github.com/apache/kafka/actions/runs/10928260916/job/30336275918]
>
> Logs are attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)