Skip to content

Make Kotlin suspend function checks ClassLoader-agnostic#5373

Open
geoand wants to merge 1 commit intojunit-team:mainfrom
geoand:quarkus-#52480
Open

Make Kotlin suspend function checks ClassLoader-agnostic#5373
geoand wants to merge 1 commit intojunit-team:mainfrom
geoand:quarkus-#52480

Conversation

@geoand
Copy link
Copy Markdown

@geoand geoand commented Feb 13, 2026

Overview

This is done because with the current version of the code, in order for a method to be considered a Kotlin suspending method, Kotlin and the test class need to be loaded from the same ClassLoader, but in Quarkus that is not the case.

Related Issues


I hereby agree to the terms of the JUnit Contributor License Agreement.

This is done because with the current version of the
code, in order for a method to consider a Kotlin
suspending method, Kotlin and the test class
need to be loaded from the same ClassLoader,
but in Quarkus that is not the case

Relates to: quarkusio/quarkus#52480

Signed-off-by: Georgios Andrianakis <geoand@gmail.com>
@sbrannen sbrannen changed the title Make Kotlin suspend function checks ClassLoader agnostic Make Kotlin suspend function checks ClassLoader-agnostic Feb 13, 2026
@marcphilipp
Copy link
Copy Markdown
Member

@geoand Have you verified that this change solves the issue on the Quarkus side?

@geoand
Copy link
Copy Markdown
Author

geoand commented Feb 13, 2026

I've verified that it gets me past the JUnit part and on to the part we have to fix eventually in Quarkus

@marcphilipp
Copy link
Copy Markdown
Member

Let's take a step back and start with an issue and a (minimal) reproducer so we can ensure we fully understand the problem before discussing a potential solution.

@geoand Could you please create an issue and supply a reproducer?

@geoand
Copy link
Copy Markdown
Author

geoand commented Feb 13, 2026

Of course!

I opened #5375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants