Skip to content

error while loading .class file in nightly scalac #20361

Closed
@timothyklim

Description

@timothyklim

Compiler version

Problem started from 3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY version and still present in latest nightly build. As a workaround I'm using 3.5.0-RC1-bin-20240429-e2c456f-NIGHTLY version.

Minimized code

[Error] error while loading ArrayBlockingQueueWithShutdown$Itr,
[Error]   class file org/jitsi/utils/concurrent/ArrayBlockingQueueWithShutdown$Itr.class is broken (version 52.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: E
[Error] error while loading PacketQueue$HandlerAdapter,
[Error]   class file org/jitsi/utils/queue/PacketQueue$HandlerAdapter.class is broken (version 52.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: T
[Error] error while loading ResettableLazy$lazyHolder$1,
[Error]   class file org/jitsi/utils/ResettableLazy$lazyHolder$1.class is broken (version 61.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: T
[Error] error while loading DelegatesKt$observableWhenChanged$$inlined$observableWhenChanged$1,
[Error]   class file org/jitsi/utils/DelegatesKt$observableWhenChanged$$inlined$observableWhenChanged$1.class is broken (version 61.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: T
[Error] error while loading DelegatesKt$observableWhenChanged$$inlined$observable$1,
[Error]   class file org/jitsi/utils/DelegatesKt$observableWhenChanged$$inlined$observable$1.class is broken (version 61.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: T
[Error] error while loading ResettableLazy$reset$1,
[Error]   class file org/jitsi/utils/ResettableLazy$reset$1.class is broken (version 61.0),
[Error]   please check the JDK compatibility of your Scala version (3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY),
[Error]   reading aborted with class java.util.NoSuchElementException:
[Error]   key not found: T

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions